elek opened a new pull request #2022: URL: https://github.com/apache/ozone/pull/2022
## What changes were proposed in this pull request? HDDS-4896 provides a very elegant way to initialize SCM HA in containerized environment: Both `-init` and `-bootstrap` can be executed, but when `ozone.scm.primordial.node.id` is set, the `--init` is ignored on non-primordial, the `--bootstrap` ignored on primordial node(s). To make it even easier to use in k8s environments I suggest to return with exit code 0 in these cases as init proces shouldn't be repeated as failed: in these cases ignoring the init/bootstrap is part of the expected workflow. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-4951 ## How was this patch tested? Deployed the Ozone to a k8s cluster with the help of https://issues.apache.org/jira/browse/HDDS-4950 yaml files. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
