[MDEV-28015] Mariabackup | GTID value is missing, Galera Cluster , adding async slave to it Created: 2022-03-07 Updated: 2024-01-25 Resolved: 2023-08-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup, Galera SST |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Pramod Mahto | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Description |
|
1. 3 node galera cluster (vmc_a, vmc_b, vmc_c) + GTID Replication (vmc_d)slave 2. Major config parameters for vmc_a, vmc_b and vmc_d vmc_a
vmc_b
vmc_c
vmc_a : All write transactions will be routed to vmc_a node vmc_a
vmc_b
vmc_c
Lets take backup using mariabackup and *mysqldump * mariabackup and mysqldump backup from vmc_c
[root@vmc_c fullbackup]# cat xtrabackup_binlog_info |
| Comments |
| Comment by Pramod Mahto [ 2022-03-07 ] |
|
From above testing , what I can see if the value for gtid_current_pos is null , it won't get captured by the mariabackup tool with in xtrabackup_binlog_info file . While mysqldump do capture the same. |
| Comment by Jan Lindström [ 2023-08-25 ] |
|
If wsrep_gtid_mode=ON is not used, I do not think even backups from cluster will not work correctly. Requirements for GTID to work on Galera cluster are clearly documented on https://mariadb.com/kb/en/using-mariadb-gtids-with-mariadb-galera-cluster/. I'm closing this as a not a bug. |
| Comment by Jan Lindström [ 2024-01-25 ] |
|
Richard Can you open a new MDEV, provide node configuration and some output from show global variables like '%gtid%'; Why gtid_domain_id != wsrep_gtid_domain_id ? |