sumitagrawl commented on code in PR #6959:
URL: https://github.com/apache/ozone/pull/6959#discussion_r1683798739


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerDoubleBuffer.java:
##########
@@ -572,12 +572,6 @@ private synchronized boolean canFlush() {
       return true;
     } catch (InterruptedException ex) {
       Thread.currentThread().interrupt();
-      if (isRunning.get()) {

Review Comment:
   Since terminate is called only when isRunning is true, which is not 
possible. So this PR is not required.
   



-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to