symious commented on code in PR #5020:
URL: https://github.com/apache/ozone/pull/5020#discussion_r1397548770
##########
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 EMPTY_DETAILS_LOCK_NOT_ACQUIRED;
}
@Override
- public void releaseReadLock(Resource resource, String... resources) {
+ public OMLockDetails releaseReadLock(Resource resource, String... resources)
{
// Intentionally empty
+ return null;
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]