[MDEV-4488] When master is on the list of ignore_server_ids, GTID position on slave is not updated Created: 2013-05-05 Updated: 2013-08-22 Resolved: 2013-08-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.2 |
| Fix Version/s: | 10.0.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
When IGNORE_SERVER_IDS list contains ID of the master, events coming from the master are ignored, but the master coordinates are updated. So, if later the ID is removed from the list, replication continues from the moment when the list was updated (which seems natural, otherwise why to ignore the server at all). In the scenario below, we create a table on master, replicate it to the slave. Then we add the master's ID to the ignored list, execute two INSERTs, remove the ID from the list and execute two more INSERTs. The expectation is that only two last values will make it to the table on the slave, which is indeed so with MASTER_USE_GTID=0, but not with MASTER_USE_GTID=1. Test case:
cnf file:
bzr version-info
|
| Comments |
| Comment by Kristian Nielsen [ 2013-08-22 ] |
|
Pushed to 10.0-base. This was a bit tricky due to the complexity of the related replication code, but I hope I got it right. |