[MDEV-7798] mysql.server init script can't stop mysqld when WSREP is turned off Created: 2015-03-18 Updated: 2015-03-24 Resolved: 2015-03-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Scripts & Clients, wsrep |
| Affects Version/s: | 5.5.42-galera |
| Fix Version/s: | 5.5.43-galera, 10.0.19-galera |
| Type: | Bug | Priority: | Minor |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | galera | ||
| Description |
|
If WSREP is turned off, the init script can't stop mysqld. We can start the server, then turn off WSREP:
Then try to stop the server, but it fails:
The process is still running:
However, the server isn't usable:
The error log:
I have to kill -9 the server to stop it:
If I turn WSREP back on before attempting to shut down the server, everything works normally:
|
| Comments |
| Comment by Geoff Montee (Inactive) [ 2015-03-18 ] | |||||||||||||||||||||||||||||||
|
Attempting to stop the server via mysqladmin has the same effect:
| |||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-03-23 ] | |||||||||||||||||||||||||||||||
|
http://lists.askmonty.org/pipermail/commits/2015-March/007661.html | |||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-03-24 ] | |||||||||||||||||||||||||||||||
|
ok to push. | |||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-03-24 ] | |||||||||||||||||||||||||||||||
|
https://github.com/MariaDB/server/commit/6a204546ef91aa90dedb6b47353bbb568f0531b0 |