symious commented on code in PR #5020:
URL: https://github.com/apache/ozone/pull/5020#discussion_r1397548299


##########
hadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto:
##########
@@ -402,6 +402,7 @@ message OMResponse {
   optional SetSnapshotPropertyResponse       SetSnapshotPropertyResponse   = 
128;
   optional ListStatusLightResponse           listStatusLightResponse       = 
129;
   optional SnapshotInfoResponse              SnapshotInfoResponse          = 
130;
+  optional OMLockDetailsProto                omLockDetailsProto            = 
131;

Review Comment:
   Updated.



##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/multipart/S3ExpiredMultipartUploadsAbortRequest.java:
##########
@@ -197,9 +198,11 @@ private void updateTableCache(OzoneManager ozoneManager,
     OMMetadataManager omMetadataManager = ozoneManager.getMetadataManager();
     OmBucketInfo omBucketInfo = null;
     BucketLayout bucketLayout = null;
+    OMLockDetails omLockDetails = null;
     try {
-      acquiredLock = omMetadataManager.getLock()
+      omLockDetails = omMetadataManager.getLock()
           .acquireWriteLock(BUCKET_LOCK, volumeName, bucketName);
+      acquiredLock = omLockDetails.isLockAcquired();

Review Comment:
   Updated.



-- 
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]

Reply via email to