sumitagrawl commented on code in PR #9322:
URL: https://github.com/apache/ozone/pull/9322#discussion_r2544661295
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/ReconDBProvider.java:
##########
@@ -138,6 +138,14 @@ private static DBStore
initializeDBStore(OzoneConfiguration configuration,
public void close() throws Exception {
if (this.dbStore != null) {
+ try {
+ // Flush to ensure all data is persisted to disk before closing.
+ dbStore.flushDB();
Review Comment:
we can move this inside dbStore.close() as its part of RDBStore, applicable
to all flow.
--
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]