1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
- setting error code for slave, if mysql slave node dropped from cluster
This commit is contained in:
Nirbhay Choubey
2015-09-10 00:20:49 -04:00
parent 2012a810ab
commit db66d2f92d

View File

@@ -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