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

   ## What changes were proposed in this pull request?
   ### Issue
   1. When reconfiguring and removing SCM, the 
`connectionManager.removeSCMServer` is called, in the `removeSCMServer`, the 
endpoint State will be set to `SHUTDOWN` 
   2. However, the rule for `RunningDatanodeState` is: whenever any endpoint 
task returns `SHUTDOWN`, the entire DN state machine switches to `SHUTDOWN`, 
this will cause the DN exceptional shutdown.
   
   ### FIx
   Do not set the endpoint to be removed to the `SHUTDOWN` state
   
   ## What is the link to the Apache JIRA
   [HDDS-15369
   ](https://issues.apache.org/jira/browse/HDDS-15369)
   
   ## How was this patch tested?
   unit 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