You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2021/03/10 13:38:00 UTC

[jira] [Created] (HDDS-4951) Return with exit code 0 in case of optional scm bootstrap/init

Marton Elek created HDDS-4951:
---------------------------------

             Summary: Return with exit code 0 in case of optional scm bootstrap/init 
                 Key: HDDS-4951
                 URL: https://issues.apache.org/jira/browse/HDDS-4951
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Marton Elek
            Assignee: Marton Elek


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

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 in these cases ignoring the init/bootstrap is part of the expected workflow.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org