mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-20715 : Implement system variable to disallow local GTIDs in Galera
Added a new wsrep_mode feature DISALLOW_LOCAL_GTID for this. Nodes can have GTIDs for local transactions in the following scenarios: A DDL statement is executed with wsrep_OSU_method=RSU set. A DML statement writes to a non-InnoDB table. A DML statement writes to an InnoDB table with wsrep_on=OFF set. If user has set wsrep_mode=DISALLOW_LOCAL_GTID these operations produce a error ERROR HY000: Galera replication not supported
This commit is contained in:
@ -713,6 +713,7 @@ THD::THD(my_thread_id id, bool is_wsrep_applier)
|
||||
wsrep_current_gtid_seqno(0),
|
||||
wsrep_affected_rows(0),
|
||||
wsrep_has_ignored_error(false),
|
||||
wsrep_was_on(false),
|
||||
wsrep_ignore_table(false),
|
||||
wsrep_aborter(0),
|
||||
|
||||
|
Reference in New Issue
Block a user