devmadhuu commented on code in PR #8098:
URL: https://github.com/apache/ozone/pull/8098#discussion_r1997885690


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java:
##########
@@ -269,36 +270,145 @@ public void start() {
         .values()
         .forEach(ReconOmTask::init);
 
-    // Verify if 'OmDeltaRequest' task's lastUpdatedSeqNumber number not 
matching with
+    // Verify if 'OmDeltaRequest' task's lastUpdatedSeqNumber is greater than 
zero and greater than
+    // 'OmSnapshotRequest' task's lastUpdatedSeqNumber number and not matching 
with
     // lastUpdatedSeqNumber number for any of the OM task, then just run 
reprocess for such tasks.
+
+    ReconTaskStatusUpdater fullSnapshotTaskStatusUpdater =
+        
taskStatusUpdaterManager.getTaskStatusUpdater(OmSnapshotTaskName.OmSnapshotRequest.name());

Review Comment:
   @swamirishi thanks for patch review. Currently we maintain 
lastUpdatedSequence number with every OM task in the form of hadoop metrics and 
its last run status, so this is the simplest way to handle all cases mentioned 
in PR description. Kindly have a look over all possible cases. 



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