devmadhuu opened a new pull request, #6272:
URL: https://github.com/apache/ozone/pull/6272

   ## What changes were proposed in this pull request?
   This PR adds task and framework in Recon to do full SCM metadata DB sync or 
delta updates at regular intervals.
   
   For Recon to have an accurate and updated information related to various 
states of containers, blocks pending for deletion or to process any other SCM 
metadata information in Recon, it is important to have full SCM DB snapshot 
sync at startup of Recon or fall back on full SCM DB snapshot  in failure 
scenarios like while applying delta updates from SCM metadata DB.
   
   There are some gaps where Recon may not know of updates in SCM metadata. 
E.g. Recon may be down and during downtime, some containers may get created and 
deleted in SCM, so Recon will never get to know about such containers even when 
it is started again.
   
   If we implement delta updates and during Recon downtime, this sync task will 
try to sync SCM DB delta updates since its rocks DB last sequence number and 
apply all delta updates to various SCM tasks in Recon.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-10341
   
   ## How was this patch tested?
   Ran existing and new Junit based integration tests.
   


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