Commit db66d2f9 authored by Nirbhay Choubey's avatar Nirbhay Choubey

refs codership/mysql-wsrep#188

- setting error code for slave, if mysql slave node dropped from cluster
parent 2012a810
......@@ -3297,6 +3297,8 @@ int apply_event_and_update_pos(Log_event* ev, THD* thd,
WSREP_DEBUG("SQL apply failed, res %d conflict state: %d",
exec_res, thd->wsrep_conflict_state);
rli->abort_slave= 1;
rli->report(ERROR_LEVEL, ER_UNKNOWN_COM_ERROR, rgi->gtid_info(),
"Node has dropped from cluster");
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment