[MDEV-9033] Incorrect statements binlogged on slave with do_domain_ids=(...) Created: 2015-10-28 Updated: 2015-11-23 Resolved: 2015-11-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.1.9 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Kristian Nielsen | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | gtid, multisource | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Sprint: | 10.1.9-3 | ||||||||||||||||||||
| Description |
|
Problem originally reported by user rsevero on IRC FreeNode #maria. Attached test case rpl.rpl_gtid_rsevero produces output with spurious extra CREATE TABLE statements in slave binlogs, probably depends on exact timing. For example:
Note the wrong domain values in the GTIDs 3-1-1, 2-1-1, and 2-1-2; in the In contrast, the same test using corresponding ignore_server_ids in place of |
| Comments |
| Comment by Rodrigo Severo [ 2015-10-28 ] |
|
I have just tried the same exact setup as the one defined here http://pastebin.com/pcqwyWDa but now using ignore_domain_ids instead of do_domain_ids. I see no diference on the problem when using do_domain_ids or ignore_domain_ids. AFAICT the problem isn't do_domain_ids only, it happens when using ignore_domain_ids also. |
| Comment by Rodrigo Severo [ 2015-11-03 ] |
|
Just manage to test ignore_server_ids. It seems to work just fine. |
| Comment by Nirbhay Choubey (Inactive) [ 2015-11-18 ] |
|
https://github.com/MariaDB/server/commit/f47124c9ef58d0f0e02d6c0ce616a7397420f99b |