Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
-
None
Description
Where MDEV-20122 deprecated the Current_Pos replication option of CHANGE MASTER MASTER_USE_GTID, this ticket tracks its removal.
Additional behaviors to consider in this removal:
- Depending on the gtid strict mode option, setting gtid_slave_pos before gtid_binlog_pos should either be disallowed when strict mode is on, or allowed, and the warning should be removed when strict mode is off.
Attachments
Issue Links
- relates to
-
MDEV-28839 Convert master_use_gtid = current_pos to slave_pos in mtr suites
-
- Closed
-
-
MDEV-20122 Deprecate MASTER_USE_GTID=Current_Pos to favor new MASTER_DEMOTE_TO_SLAVE option
-
- Closed
-
- split to
-
MDEV-32976 Un-deprecate MASTER_USE_GTID=Current_Pos
-
- Closed
-
We need to keep the syntax CHANGE MASTER TO MASTER_USE_GTID=current_pos for backwards compatibility. So it must not be removed.
There's also no technical need to remove MASTER_USE_GTID=current_pos. It uses the @@gtid_current_pos which is also needed for the MASTER_DEMOTE_TO_SLAVE. And it works as intended and documented.
So the MASTER_USE_GTID should stay, it's just good to have the MASTER_DEMOTE_TO_SLAVE as an alternative that works better for "sloppy" setups where manual updates are occasionally done on the slave.