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

   ## What changes were proposed in this pull request?
   
   If a follower SCM is somehow behind applying Ratis transactions when the 
leader SCM is finalized and then some datanodes get finalized and then the 
finalized DNs are restarted, when they register with the lagging SCM it will 
see their version as ahead of its version and throw an exception on 
registration. That exception will caused the DNs to shutdown even if they have 
successfully registered with the leader SCM.
   
   This was found via static analysis using AI and in practice is unlikely to 
be hit, but the fix is simple and hence we should fix it.
   
   The fix was generated by AI.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17090
   
   ## How was this patch tested?
   
   New unit test added to validate the fix
   
   


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