bharatviswa504 opened a new pull request #2294:
URL: https://github.com/apache/ozone/pull/2294


   ## What changes were proposed in this pull request?
   
   After unclean SCM shutdown, SCM may not come out of safemode.
   
   Proposal:
   1. Use leader ready to start Background services.
   2. In apply transaction after apply is complete if SCM is in safemode, 
refresh and validate safemode rules with current state.
   3. For leader ready have a back ground daemon thread and check is leader 
ready using Ratis API. And also call notifyStatusChanged in SCMServices and 
also update isLeader in SCMContext.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-5263
   
   ## How was this patch tested?


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

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