Skip to content

HDDS-9447. Redundant ACL checks in getKeyInfo for S3 use case#5440

Merged
adoroszlai merged 3 commits intoapache:masterfrom
duongkame:HDDS-9447
Oct 19, 2023
Merged

HDDS-9447. Redundant ACL checks in getKeyInfo for S3 use case#5440
adoroszlai merged 3 commits intoapache:masterfrom
duongkame:HDDS-9447

Conversation

@duongkame
Copy link
Contributor

What changes were proposed in this pull request?

Redundant ACL checks in getKeyInfo for S3 use case. See details in the JIRA.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-9447

How was this patch tested?

Should be covered by the existing tests in CI.

@duongkame duongkame marked this pull request as ready for review October 13, 2023 17:18
@kerneltime
Copy link
Contributor

cc @SaketaChalamchala @tanvipenumudy @swamirishi @xBis7 can you please take a look.

Copy link
Contributor

@xBis7 xBis7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@duongkame Thanks for the patch. Since, we are checking the S3 volume ACLs for all bucket layouts here, on the OmMetadataReader, it's redundant to check the volume ACLs again, when validating for a key.

Changes LGTM!

Copy link
Contributor

@tanvipenumudy tanvipenumudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @duongkame for the patch, the changes LGTM! Added a minor nit.

Copy link
Contributor

@smengcl smengcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @duongkame for the patch. One minor comment nit inline.

…ne/om/OzoneManager.java

Co-authored-by: Siyao Meng <50227127+smengcl@users.noreply.github.com>
@adoroszlai adoroszlai merged commit e34f491 into apache:master Oct 19, 2023
@adoroszlai
Copy link
Contributor

Thanks @duongkame for the patch, @smengcl, @tanvipenumudy, @xBis7 for the review.

ibrusentsev pushed a commit to ibrusentsev/ozone that referenced this pull request Nov 14, 2023
@duongkame duongkame deleted the HDDS-9447 branch April 12, 2025 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants