[MDEV-17370] Create method to purge a specific domain from gtid_binlog_pos Created: 2018-10-04  Updated: 2022-04-04  Resolved: 2022-04-04

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

Type: Task Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Andrei Elkin
Resolution: Fixed Votes: 1
Labels: binlog, gtid

Issue Links:
Relates
relates to MDEV-17853 Document that gtid_binlog_pos can lag... Closed
relates to MDEV-17156 Local transactions on a Slave don't u... Closed
relates to MDEV-17368 RESET MASTER doesn't completely reset... Closed
relates to MDEV-17369 Document how to reset gtid_current_pos Closed

 Description   

Every once in a while users will request a way to purge one or more specific domains from gtid_binlog_pos. There does not currently seem to be a way to do this. RESET MASTER purges all domains, but it does not let you pick and choose which domains to purge.



 Comments   
Comment by Andrei Elkin [ 2020-02-21 ]

GeoffMontee: Would FLUSH BINARY LOGS DELETE_DOMAIN_ID=(list-of-domains) of MDEV-12012 provide an acceptable solution?

Comment by Geoff Montee (Inactive) [ 2020-02-21 ]

Hi Elkin,

I haven't tested FLUSH BINARY LOGS DELETE_DOMAIN_ID=(list-of-domains) yet, but after reading a description of it, it does sound like that would accomplish what this FR is requesting. I didn't know that we had already implemented a feature like that.

Generated at Thu Feb 08 08:35:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.