swamirishi commented on code in PR #9273:
URL: https://github.com/apache/ozone/pull/9273#discussion_r2514166174


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/DBCheckpointServlet.java:
##########
@@ -394,17 +395,21 @@ public BootstrapStateHandler.Lock getBootstrapStateLock() 
{
    * This lock is a no-op but can overridden by child classes.
    */
   public static class Lock extends BootstrapStateHandler.Lock {
+
+    private final UncheckedAutoCloseable noopLock = () -> {
+    };
+
     public Lock() {

Review Comment:
   done



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