hemantk-12 opened a new pull request, #4214: URL: https://github.com/apache/ozone/pull/4214
## What changes were proposed in this pull request? This change is to add the wait for 10 secs for checkpoint directory creation with 100 millis interval poll. We can't not use [wait()](https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#wait()) and [notify()](https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#notify()) because checkpointing directory creation happens inside RocksDB and RocksDB doesn't provide any [listen](https://javadoc.io/static/org.rocksdb/rocksdbjni/7.4.5/org/rocksdb/EventListener.html) which can be overloaded to notify. Hence we are using `awaitility` polling mechanism to check if checkpoint directory gets created in 10 secs. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7845 ## How was this patch tested? Existing tests. -- 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]
