ChenSammi commented on code in PR #11817:
URL: https://github.com/apache/ozone/pull/11817#discussion_r4411066199
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/lifecycle/OMLifecycleConfigurationSetRequest.java:
##########
@@ -89,6 +89,10 @@ public OMRequest preExecute(OzoneManager ozoneManager)
throws IOException {
ResolvedBucket resolvedBucket = ozoneManager.resolveBucketLink(
Pair.of(volumeName, bucketName), this);
+ // Read the bucket before the checks below, so that the recorded object ID
is of a bucket they all see.
Review Comment:
Let's move this to ahead of newLifecycleConfiguration creation.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]