kerneltime commented on code in PR #4885:
URL: https://github.com/apache/ozone/pull/4885#discussion_r1315429183
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/lock/OmReadOnlyLock.java:
##########
@@ -17,48 +17,25 @@
package org.apache.hadoop.ozone.om.lock;
+import org.apache.hadoop.ozone.om.lock.OzoneManagerLock.Resource;
+
/**
* Read only "lock" for snapshots
* Uses no lock. Always returns true when aquiring
* read lock and false for write locks
*/
public class OmReadOnlyLock implements IOzoneManagerLock {
Review Comment:
not related to this PR but this class should be renamed to something akin to
`OmDummyReadLock`
--
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]