You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/06/08 18:18:47 UTC
[GitHub] [ozone] adoroszlai opened a new pull request, #3495: HDDS-6846. HeadOp ignored for link bucket
adoroszlai opened a new pull request, #3495:
URL: https://github.com/apache/ozone/pull/3495
## What changes were proposed in this pull request?
`OmKeyArgs` has a flag to indicate if the request is a "head" operation (e.g. existence check, metadata request) or if data is needed as well. We can skip a few resource-intensive tasks for "head".
This flag is ignored for link buckets because it is lost during `OmKeyArgs -> Builder -> OmKeyArgs` conversion:
https://github.com/apache/ozone/blob/7847e663c45adfc3566679959936da3125474d80/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ResolvedBucket.java#L70-L75
which is called in some `OzoneManager` read ops, e.g.:
https://github.com/apache/ozone/blob/7847e663c45adfc3566679959936da3125474d80/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java#L2810
https://github.com/apache/ozone/blob/7847e663c45adfc3566679959936da3125474d80/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java#L3402
https://issues.apache.org/jira/browse/HDDS-6846
## How was this patch tested?
Added unit test.
https://github.com/adoroszlai/hadoop-ozone/actions/runs/2462972124
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai merged pull request #3495: HDDS-6846. HeadOp ignored for link bucket
Posted by GitBox <gi...@apache.org>.
adoroszlai merged PR #3495:
URL: https://github.com/apache/ozone/pull/3495
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai commented on pull request #3495: HDDS-6846. HeadOp ignored for link bucket
Posted by GitBox <gi...@apache.org>.
adoroszlai commented on PR #3495:
URL: https://github.com/apache/ozone/pull/3495#issuecomment-1152044867
Thanks @smengcl for the review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org