Skip to content

Commit

Permalink
don't skip wsrep position recovery silently
Browse files Browse the repository at this point in the history
control scripts (mysqld_safe for example) want to know
whether a recovery was successful or not.
total silence is too suspicious to be trusted.
  • Loading branch information
vuvova committed Dec 1, 2014
1 parent aa4ad1c commit dbbe831
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sql/mysqld.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5624,7 +5624,10 @@ int mysqld_main(int argc, char **argv)
if (wsrep_recovery)
{
select_thread_in_use= 0;
if (WSREP_ON) wsrep_recover();
if (WSREP_ON)
wsrep_recover();
else
sql_print_information("WSREP: disabled, skipping position recovery");
unireg_abort(0);
}

Expand Down

0 comments on commit dbbe831

Please sign in to comment.