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

Let galera_new_cluster use "restart" instead of "start"

    XMLWordPrintable

Details

    Description

      The galera_new_cluster command uses "systemctl start" to start up a the initial node of a new galera cluster.

      Unfortunately "systemctl start" does nothing when a service is already started, it just returns success right away. And so does galera_new_cluster then, even though it didn't actually create a new cluster at all.

      So I suggest to change "systemctl start" in the script to "systemctl restart", to enforce a fresh mysqld process start even in cases where the mariadb process is already running.

      Attachments

        Activity

          People

            jplindst Jan Lindström (Inactive)
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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