errose28 opened a new pull request #2015:
URL: https://github.com/apache/ozone/pull/2015


   ## What changes were proposed in this pull request?
   
   Currently, when a datanode is registered with SCM, it is added as 
HEALTHY_READONLY, regardless of its metadata layout version. On the next 
heartbeat, the layout is checked against that of SCM's to determine if it 
matches and can be moved to HEALTHY. This Jira will add the check for layout 
match when the datanode is registered, as well as on each heartbeat, so nodes 
whose MLV matches SCM's on registration will move directly from 
HEALTHY_READONLY to HEALTHY without needing to wait for a heartbeat.
   
   ## What is the link to the Apache JIRA
   
   HDDS-4946
   
   ## How was this patch tested?
   
   Recon `TestEndpoints` unit test updated to pass layout version on heartbeat.
   `TestNodeStateManager` updated to test the new behavior.
   


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