fat-catTW opened a new pull request, #12187:
URL: https://github.com/apache/ozone/pull/12187

   ## What changes were proposed in this pull request?
   
   When SCM force-deletes a container replica, a Ratis write may reach the
   replica after it has been marked DELETED. The write returns
   CONTAINER_INTERNAL_ERROR, causing the dispatcher to attempt to mark the
   replica unhealthy. This throws an IllegalStateException and can close the
   pipeline.
   
   This change returns CONTAINER_NOT_OPEN for a deleted replica and prevents
   the dispatcher from marking it unhealthy.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17730
   
   ## How was this patch tested?
   
   - Ran TestHddsDispatcher, including tests for WriteChunk and PutBlock
     against a deleted replica.
   - Ran targeted Ratis state machine tests for leader and follower.


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