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


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RDBCheckpointUtils.java:
##########
@@ -67,4 +68,15 @@ public static boolean waitForCheckpointDirectoryExist(File 
file)
       return false;
     }
   }
+
+  /**
+   * Wait for checkpoint directory to be created for 5 secs with 100 millis
+   * poll interval.
+   * @param file Checkpoint directory.
+   * @return true if found.
+   */
+  public static boolean waitForCheckpointDirectoryExist(File file)

Review Comment:
   yeah checked the usage. We should be good here. It throws an IOException in 
the case the directory doesn't exist in the bootstrapping code. It would retry 
once again if it fails.



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