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


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/lock/OmReadOnlyLock.java:
##########
@@ -47,13 +51,16 @@ public void releaseMultiUserLock(String firstUser, String 
secondUser) {
   }
 
   @Override
-  public void releaseWriteLock(Resource resource, String... resources) {
+  public OMLockDetails releaseWriteLock(Resource resource,
+      String... resources) {
   // Intentionally empty
+    return null;

Review Comment:
   Can we return EMPTY_DETAILS_LOCK_NOT_ACQUIRED for this and releaseReadLock?



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