Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
The documentation doesn't currently say how to reset gtid_current_pos:
https://mariadb.com/kb/en/library/gtid/#gtid_current_pos
gtid_current_pos is made up by combining GTIDs from two different variables: gtid_binlog_pos and gtid_slave_pos. So to reset gtid_current_pos, you need to reset both of those.
1.) gtid_binlog_pos can be reset with "RESET MASTER":
https://mariadb.com/kb/en/library/reset-master/
https://mariadb.com/kb/en/library/gtid/#gtid_binlog_pos
2.) gtid_slave_pos can be reset by executing:
SET GLOBAL gtid_slave_pos='';
|
Attachments
Issue Links
- relates to
-
MDEV-17370 Create method to purge a specific domain from gtid_binlog_pos
- Closed
-
MDEV-17867 Make RESET MASTER throw GTID-related warning if gtid_slave_pos is set
- Open
-
MDEV-17156 Local transactions on a Slave don't update GTID's gtid_current_pos after RESET MASTER on Slave (master_use_gtid value is not relevant)
- Closed
-
MDEV-17368 RESET MASTER doesn't completely reset gtid_current_pos
- Closed