scripts/mysql.server fails to return 1 if restart fails to start
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.5 |
Fix Committed
|
Undecided
|
Alex Yurchenko | |||
5.6 |
Fix Released
|
Undecided
|
Alex Yurchenko | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Medium
|
Unassigned | |||
5.6 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Utilizing: Percona-
The restart sequence in scripts/
Supplied script:
'restart')
# Stop the service and regardless of whether it was
# running or not, start it again.
if $0 stop $other_args; then
$0 start $other_args
else
log_
exit 1
fi
;;
Possible solution:
'restart')
# Stop the service and regardless of whether it was
# running or not, start it again.
if $0 stop $other_args; then
if ! $0 start $other_args; then
exit 1
fi
else
log_
exit 1
fi
;;
fix pushed in: bazaar. launchpad. net/~codership/ codership- mysql/wsrep- 5.5/revision/ 4008 bazaar. launchpad. net/~codership/ codership- mysql/5. 6/revision/ 4109
http://
http://