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
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.3 [ 22126 ] | |
Assignee | Jan Lindström [ jplindst ] |
Labels | systemd |
Workflow | MariaDB v3 [ 94221 ] | MariaDB v4 [ 141238 ] |
Labels | systemd | newFeature systemd |
Assignee | Jan Lindström [ jplindst ] | Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] |
Assignee | Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] | Jan Lindström [ jplindst ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Status | Open [ 1 ] | Needs Feedback [ 10501 ] |
Status | Needs Feedback [ 10501 ] | Open [ 1 ] |
issue.field.resolutiondate | 2022-05-12 06:14:21.0 | 2022-05-12 06:14:21.022 |
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 ] |
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 ] |