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

Let galera_new_cluster use "restart" instead of "start"

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

          Transition Time In Source Status Execution Times
          Jan Lindström (Inactive) made transition -
          Open Needs Feedback
          1134d 9m 1
          Hartmut Holzgraefe made transition -
          Needs Feedback Open
          15m 3s 1
          Jan Lindström (Inactive) made transition -
          Open Closed
          15h 41m 1

          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.