[MDEV-14182] Gtid_Slave_Pos is not reported equal using show variables or show all slaves status Created: 2017-10-28 Updated: 2020-12-01 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.0, 10.1, 10.2.9, 10.2 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | VAROQUI Stephane | Assignee: | Andrei Elkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Definition of doc about show all slaves status
A list of binlog events in the slave that show some writes happen on it on top of replication events Not using multi domain |
| Comments |
| Comment by Elena Stepanova [ 2017-10-30 ] | |||||||||||||||||||||||||||||||||
|
Thanks for the report. This is easily reproducible on 10.x. From the look of it, Gtid_Slave_Pos in SHOW ALL SLAVES STATUS shows all positions, not only those that have been replicated, but also those applied on the slave directly, while @@gtid_slave_pos only shows the replicated ones. Maybe it's meant to be this way, and this is just a documentation issue – in this case, Elkin, please re-categorize and re-assign. The test case below only applicable to 10.1 and 10.2, because 10.0 does not have include/show_all_slaves_status.inc, but otherwise the versions have identical behavior.
|