ArafatKhan2198 commented on code in PR #6640:
URL: https://github.com/apache/ozone/pull/6640#discussion_r1594204026


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java:
##########
@@ -264,10 +270,12 @@ private void startSyncDataFromOM(long initialDelay) {
     LOG.debug("Started the OM DB sync scheduler.");
     scheduler.scheduleWithFixedDelay(() -> {
       try {
+        LOG.info("Last known sequence number before sync: {}", 
getCurrentOMDBSequenceNumber());

Review Comment:
   The number of times the sequence number is logged will be equal to the 
frequency set in the configuration below.
   
   In the recon logs, the log messages displaying the sequence number occur at 
one-minute intervals, which are determined by the value set by the user for the 
flags `OZONE_RECON_OM_SNAPSHOT_TASK_INTERVAL_DELAY`. The default value for this 
flag is set to 10 minutes. This delay represents the interval between Recon 
initiating updates on its DB.



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