[MDEV-6961] mysqld should auto-terminate when started with --wsrep-recover Created: 2014-10-28  Updated: 2014-11-30  Resolved: 2014-11-30

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.1.1
Fix Version/s: 10.1.2

Type: Bug Priority: Minor
Reporter: Nirbhay Choubey (Inactive) Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: galera


 Description   

There is a stage in mysqld_safe when it tries to recover mysqld's
database state by starting it with --wsrep-recover. The server is expected
to exit after recovery. After which, mysqld_safe attempts to start the server
again.

However, if server is started using mysqld_safe with wsrep disabled,
mysqld wouldn't terminate post recovery. Due to this init commands
like stop, start won't work as the pid file used to start mysql is different
from what init script expects.

  local wr_pidfile="$DATADIR/"`@HOSTNAME@`"-recover.pid"



 Comments   
Comment by Nirbhay Choubey (Inactive) [ 2014-10-28 ]

http://lists.askmonty.org/pipermail/commits/2014-October/006860.html

Comment by Sergei Golubchik [ 2014-11-29 ]

ok

Generated at Thu Feb 08 07:15:54 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.