You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WL#12819:GTIDs: Replicate from GTID disabled source to GTID enabled replica directly
This worklog implements a new option ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS = [OFF|LOCAL|uuid]
which will be a per channel property to be specified with
CHANGE MASTER that allows direct data flows between a non-GTID
replication setup and a GTID replication setup.
After this worklog, a user shall be able to replicate from a
GTID disabled source to a GTID enabled replica without any other
middleware or any upgrade procedure.
RB: 24033
Copy file name to clipboardExpand all lines: mysql-test/r/mysqldump.result
+2
Original file line number
Diff line number
Diff line change
@@ -5347,6 +5347,8 @@ CREATE TABLE IF NOT EXISTS `slave_relay_log_info` (
5347
5347
`Privilege_checks_hostname` char(255) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL COMMENT 'Hostname part of PRIVILEGE_CHECKS_USER.',
5348
5348
`Require_row_format` tinyint(1) NOT NULL COMMENT 'Indicates whether the channel shall only accept row based events.',
5349
5349
`Require_table_primary_key_check` enum('STREAM','ON','OFF') NOT NULL DEFAULT 'STREAM' COMMENT 'Indicates what is the channel policy regarding tables having primary keys on create and alter table queries',
5350
+
`Assign_gtids_to_anonymous_transactions_type` enum('OFF','LOCAL','UUID') NOT NULL DEFAULT 'OFF' COMMENT 'Indicates whether the channel will generate a new GTID for anonymous transactions. OFF means that anonymous transactions will remain anonymous. LOCAL means that anonymous transactions will be assigned a newly generated GTID based on server_uuid. UUID indicates that anonymous transactions will be assigned a newly generated GTID based on Assign_gtids_to_anonymous_transactions_value',
5351
+
`Assign_gtids_to_anonymous_transactions_value` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'Indicates the UUID used while generating GTIDs for anonymous transactions',
def mysql slave_relay_log_info Privilege_checks_hostname 11 NULL YES char 255 255 NULL NULL NULL ascii ascii_general_ci char(255) select,insert,update,references Hostname part of PRIVILEGE_CHECKS_USER. NULL
189
189
def mysql slave_relay_log_info Require_row_format 12 NULL NO tinyint NULL NULL 3 0 NULL NULL NULL tinyint(1) select,insert,update,references Indicates whether the channel shall only accept row based events. NULL
190
190
def mysql slave_relay_log_info Require_table_primary_key_check 13 STREAM NO enum 6 18 NULL NULL NULL utf8 utf8_general_ci enum('STREAM','ON','OFF') select,insert,update,references Indicates what is the channel policy regarding tables having primary keys on create and alter table queries NULL
191
+
def mysql slave_relay_log_info Assign_gtids_to_anonymous_transactions_type 14 OFF NO enum 5 15 NULL NULL NULL utf8 utf8_general_ci enum('OFF','LOCAL','UUID') select,insert,update,references Indicates whether the channel will generate a new GTID for anonymous transactions. OFF means that anonymous transactions will remain anonymous. LOCAL means that anonymous transactions will be assigned a newly generated GTID based on server_uuid. UUID indicates that anonymous transactions will be assigned a newly generated GTID based on Assign_gtids_to_anonymous_transactions_value NULL
192
+
def mysql slave_relay_log_info Assign_gtids_to_anonymous_transactions_value 15 NULL YES text 65535 65535 NULL NULL NULL utf8 utf8_bin text select,insert,update,references Indicates the UUID used while generating GTIDs for anonymous transactions NULL
191
193
def mysql slave_worker_info Id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int unsigned PRI select,insert,update,references NULL
192
194
def mysql slave_worker_info Relay_log_name 2 NULL NO text 65535 65535 NULL NULL NULL utf8 utf8_bin text select,insert,update,references NULL
193
195
def mysql slave_worker_info Relay_log_pos 3 NULL NO bigint NULL NULL 20 0 NULL NULL NULL bigint unsigned select,insert,update,references NULL
@@ -540,6 +542,8 @@ NULL mysql slave_relay_log_info Id int NULL NULL NULL NULL int unsigned
540
542
1.0000 mysql slave_relay_log_info Privilege_checks_hostname char 255 255 ascii ascii_general_ci char(255)
541
543
NULL mysql slave_relay_log_info Require_row_format tinyint NULL NULL NULL NULL tinyint(1)
542
544
3.0000 mysql slave_relay_log_info Require_table_primary_key_check enum 6 18 utf8 utf8_general_ci enum('STREAM','ON','OFF')
545
+
3.0000 mysql slave_relay_log_info Assign_gtids_to_anonymous_transactions_type enum 5 15 utf8 utf8_general_ci enum('OFF','LOCAL','UUID')
546
+
1.0000 mysql slave_relay_log_info Assign_gtids_to_anonymous_transactions_value text 65535 65535 utf8 utf8_bin text
543
547
NULL mysql slave_worker_info Id int NULL NULL NULL NULL int unsigned
544
548
1.0000 mysql slave_worker_info Relay_log_name text 65535 65535 utf8 utf8_bin text
0 commit comments