Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2823 SCM HA Support
  3. HDDS-4951

Return with exit code 0 in case of optional scm bootstrap/init

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              elek Marton Elek
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: