neils-dev commented on PR #4563: URL: https://github.com/apache/ozone/pull/4563#issuecomment-1511998016
> @neils-dev Why do we need the cluster ID to decommission SCM? The SCM receiving the command already knows its own cluster ID and cannot make changes if there is a mismatch. Thanks for following up. The scm request for removing the scm, `removeSCM`, requires the `clusterId` from the scm client. On server side, the `SCMHAManagerImpl`, validates the request checking if the `clusterId` in the request matches the scm `clusterId`. see: https://github.com/apache/ozone/blob/cffa3864b974499078fbdb37506ed992319b09c5/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMHAManagerImpl.java#L378 -- 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]
