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

   **DRAFT** Contains changes from #10443 which must be merged first
   
   ## What changes were proposed in this pull request?
   
   The ZDU design doc outlines rules for which datanodes SCM should allow to 
register based on their reported software and apparent versions. In particular 
DNs with software or apparent versions larger than SCM should not be allowed to 
register, and DNs with lower software versions than SCM should only be allowed 
to register when SCM is pre-finalized.
   
   When Datanode registration is rejected due to an incorrect version, it 
should shut down since the error is not recoverable.
   
   Recon also has an SCM version manager instance tracking HDDS versions in its 
NodeManager implementation, whose version needs to follow that of SCM + DNs to 
keep up with compatibility. Since Recon doesn't have official downgrade 
support, it finalizes its own Recon versions on startup. This means that unlike 
SCM, Recon should allow old software DNs to register after it has finalized.
   
   ## What is the link to the Apache JIRA
   
   HDDS-15482
   
   ## How was this patch tested?
   
   - Recon and SCM unit tests updated to test the matrix of SCM and Datanode 
versions.
   - Integration test added to verify that Datanodes shut down when they get a 
the "node not permitted" message from SCM.
   


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