[MDEV-4688] gtid_current_pos and gtid_slave_pos have empty values most of the time when slave is replicating Created: 2013-06-20 Updated: 2013-06-21 Resolved: 2013-06-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| 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 |
|
I'm not sure if it's a bug, maybe it's supposed to work this way, but it surely looks strange, so I'll file it and leave it to you to decide When a slave is actively replicating, most of the time @@gtid_current_pos and @@gtid_slave_pos appear to be empty. No special flow seems to be necessary, just regular DML would suffice. For example, the test below performs a thousand of inserts on master while checking the values on the slave at the same time. Here is a typical extract from the output:
If instead of a number of small statements I execute one very big statement, the effect can still be observed, but the empty values only appear during a small fraction of time. So, I presume the "empty phase" has somewhat flat duration per an event group, regardless its size. Test case:
bzr version-info
|
| Comments |
| Comment by Kristian Nielsen [ 2013-06-21 ] |
|
Yeah, it's certainly a bug, good catch! The window for seeing this is in-between the start and the end of the COMMIT Will fix. |
| Comment by Kristian Nielsen [ 2013-06-21 ] |
|
Pushed to 10.0-base |