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

   ## What changes were proposed in this pull request?
   
   ### Context
   Fixed a bug where reading the key could result in a NO_REPLICA_FOUND error 
during SCM restart and leader transfer.
   For details:
   https://issues.apache.org/jira/browse/HDDS-14989
   Or can see `testFollowerCatchupAfterContainerClose` for detailed 
reproduction way
   
   ### Fix
   - When the Follower SCM starts, it starts the DatanodeProtocolServer to 
receive FCR and ICR from the Datanode after catching up with the leader's 
committed log entries.
   - Only allow the leader SCM to update the container via Ratis by executing 
`updateContainerState`.
   
   ## What is the link to the Apache JIRA'
   
   https://issues.apache.org/jira/browse/HDDS-14989
   
   ## How was this patch tested?
   nee test


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