Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-29884

Ctrl-Cing out of galera_new_cluster doesn't reset systemd environment

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Platform RedHat, Server
    • None

    Description

      Excerpt from /bin/galera_new_cluster:

      systemctl set-environment _WSREP_NEW_CLUSTER='--wsrep-new-cluster' && \
          systemctl start ${1:-mariadb}
       
      systemctl set-environment _WSREP_NEW_CLUSTER=''
      

      If the service start takes too long and the user aborts the script, the environment never gets reset and subsequent attempt to join this node to another primary component via `systemctl start mariadb` will instead bootstrap it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eugeny Eugene Pankov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.