[MDEV-9241] Shrink GTID Created: 2015-12-06  Updated: 2023-07-12  Resolved: 2023-07-12

Status: Closed
Project: MariaDB Server
Component/s: Replication
Fix Version/s: 10.2.11

Type: Task Priority: Major
Reporter: VAROQUI Stephane Assignee: Kristian Nielsen
Resolution: Done Votes: 1
Labels: None


 Description   

For multi master loop , we do provision slaves before introducing them in the loop ,
replacing a dead node happens twice a year in average , in this case if the new slave have same domain id and server id for the one that it replace , it will simply cancel the events originating from himself after the backup , so we do use other server_id, domin_id for every new node.

This lead to unnecessary big GTID after a while that we would like to to shrink

We think that similar syntax would be useful :
RESET MASTER MASTER_SERVER = ID
RESET MASTER MASTER_DOMAIN = ID



 Comments   
Comment by Kristian Nielsen [ 2023-07-12 ]

This was fixed some time ago, with the implementation of FLUSH BINARY LOGS DELETE_DOMAIN_ID=<list>

Generated at Thu Feb 08 07:33:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.