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


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java:
##########
@@ -225,25 +229,30 @@ public OzoneManagerServiceProviderImpl(
         new ThreadFactoryBuilder().setNameFormat(threadNamePrefix + 
"SyncOM-%d")
             .build();
     this.reconContext = reconContext;
+    this.deltaUpdateTaskStatus = new ReconTaskStatus(
+        OmSnapshotTaskName.OmDeltaRequest.name(),
+        0L, 0L, 0, 0);
+    this.snapshotUpdateTaskStatus = new ReconTaskStatus(
+        OmSnapshotTaskName.OmSnapshotRequest.name(),
+        0L, 0L, 0, 0);

Review Comment:
   @devabhishekpal I didn't understand your comment. Which previous impl you 
are talking. I see that only this JIRA PR is creating `ReconTaskStatus` object 
. How the upgrade scenario will work in this ? 



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