Gargi-jais11 commented on code in PR #9173:
URL: https://github.com/apache/ozone/pull/9173#discussion_r2453965964


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/ReconTaskControllerImpl.java:
##########
@@ -741,16 +740,16 @@ private void 
processReInitializationEvent(ReconTaskReInitializationEvent event)
           resetRetryCounters();
           LOG.info("Completed async task reinitialization");
         }
+        
+        // Clean up checkpoint files after use (database connections are 
automatically closed by try-with-resources)
+        cleanupCheckpointFiles(checkpointedOMMetadataManager);

Review Comment:
   I was also wondering the same thing as there is only one line of difference 
between the two functions.
   ```
   // Close the database connections first
         checkpointedManager.close();
         LOG.debug("Closed checkpointed OM metadata manager database 
connections");
   ```



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