mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-9609 : wsrep_debug only logs DDL information on originating node
Added DDL logging to applier and replaying also so that DDL is logged on other than originating node. wsrep.h Removed wsrep_thd_is_local conditions and cleaned up the macros. Removed WSREP_TO_ISOLATION_END. Event_job_data::execute change_password acl_set_default_role mysql_execute_command Replaced macro by function call wsrep_to_isolation_begin wsrep_to_isolation_end If execution is not local log DDL-information when wsrep_debug is enabled No new tests required as current regression setting is already testing these code paths.
This commit is contained in:
@ -6114,7 +6114,8 @@ finish:
|
||||
#ifdef WITH_WSREP
|
||||
thd->wsrep_consistency_check= NO_CONSISTENCY_CHECK;
|
||||
|
||||
WSREP_TO_ISOLATION_END;
|
||||
if (wsrep_thd_is_toi(thd) || wsrep_thd_is_in_rsu(thd))
|
||||
wsrep_to_isolation_end(thd);
|
||||
/*
|
||||
Force release of transactional locks if not in active MST and wsrep is on.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user