szetszwo commented on code in PR #10683:
URL: https://github.com/apache/ozone/pull/10683#discussion_r3573092934
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/lock/OBSKeyPathLockStrategy.java:
##########
@@ -89,4 +91,55 @@ public OMLockDetails releaseReadLock(OMMetadataManager
omMetadataManager,
.releaseReadLock(BUCKET_LOCK, volumeName, bucketName));
return omLockDetails;
}
+
+ @Override
+ public OMLockDetails acquireWriteLock(OMMetadataManager omMetadataManager,
+ String volumeName, String bucketName, Collection<String> keyNames)
Review Comment:
@spacemonkd , just some quick questions: Why keyNames is a collection? How
many keys do you expected?
--
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]