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

          hholzgra Hartmut Holzgraefe created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Fix Version/s 10.3 [ 22126 ]
          Assignee Jan Lindström [ jplindst ]
          serg Sergei Golubchik made changes -
          Labels systemd
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 94221 ] MariaDB v4 [ 141238 ]
          jplindst Jan Lindström (Inactive) made changes -
          Labels systemd newFeature systemd
          jplindst Jan Lindström (Inactive) made changes -
          Assignee Jan Lindström [ jplindst ] Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]
          ralf.gebhardt Ralf Gebhardt made changes -
          Assignee Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] Jan Lindström [ jplindst ]
          ralf.gebhardt Ralf Gebhardt made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          jplindst Jan Lindström (Inactive) made changes -
          Status Open [ 1 ] Needs Feedback [ 10501 ]
          hholzgra Hartmut Holzgraefe made changes -
          Status Needs Feedback [ 10501 ] Open [ 1 ]
          jplindst Jan Lindström (Inactive) made changes -
          issue.field.resolutiondate 2022-05-12 06:14:21.0 2022-05-12 06:14:21.022
          jplindst Jan Lindström (Inactive) made changes -
          Fix Version/s 10.3.36 [ 27513 ]
          Fix Version/s 10.4.26 [ 27511 ]
          Fix Version/s 10.5.17 [ 27509 ]
          Fix Version/s 10.6.9 [ 27507 ]
          Fix Version/s 10.7.5 [ 27505 ]
          Fix Version/s 10.8.4 [ 27503 ]
          Fix Version/s 10.3 [ 22126 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          marko Marko Mäkelä made changes -
          Fix Version/s 10.3.35 [ 27512 ]
          Fix Version/s 10.4.25 [ 27510 ]
          Fix Version/s 10.5.16 [ 27508 ]
          Fix Version/s 10.6.8 [ 27506 ]
          Fix Version/s 10.7.4 [ 27504 ]
          Fix Version/s 10.8.3 [ 27502 ]
          Fix Version/s 10.9.1 [ 27114 ]
          Fix Version/s 10.8.4 [ 27503 ]
          Fix Version/s 10.7.5 [ 27505 ]
          Fix Version/s 10.6.9 [ 27507 ]
          Fix Version/s 10.5.17 [ 27509 ]
          Fix Version/s 10.4.26 [ 27511 ]
          Fix Version/s 10.3.36 [ 27513 ]

          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.