[MDEV-8725] Assertion `!(thd->rgi_slave && thd-> rgi_slave->did_mark_start_commit)' failed in ha_rollback_trans Created: 2015-09-02 Updated: 2015-09-02 Resolved: 2015-09-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.0.22, 10.1.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | parallelslave | ||
| Attachments: |
|
| Description |
|
Note: it's possible that 10.0 is also affected, I am currently running tests on 10.1, so it comes from there.
To reproduce, start master with the attached binary log (default options will do), start slave with slave_parallel_threads=8, set up replication, wait. |
| Comments |
| Comment by Kristian Nielsen [ 2015-09-02 ] | |||||||
|
The assertion happens because the binlog contains a ROLLBACK query event. Elena, do you know how one might inject such ROLLBACK event into the binlog (for a test case)? Maybe you can see it in the general log? Or basically any way to put a ROLLBACK event into the binlog should trigger this assertion. | |||||||
| Comment by Kristian Nielsen [ 2015-09-02 ] | |||||||
|
Hm, this seems to work:
| |||||||
| Comment by Kristian Nielsen [ 2015-09-02 ] | |||||||
|
http://lists.askmonty.org/pipermail/commits/2015-September/008297.html |