devmadhuu commented on PR #6411: URL: https://github.com/apache/ozone/pull/6411#issuecomment-2175990532
@smitajoshi12 If DN operational state is `DECOMMISSIONED` or Node Status is `DEAD`, then only we allow, We are also **`NOT`** allowing IN_MAINTENANCE node to be removed. And if a node operational state is `DECOMMISSIONED`, it is not necessarily to be in `DEAD` status and node status may still be `HEALTHY`, so first priority is to check DN operational state should be equal to `DECOMMISSIONED`, then in `OR` second condition should be node status as `DEAD`. cc: @kkasawa -- 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]
