[MDEV-8203] Assertion `!current_stmt_is_commit || !rgi->tables_to_lock' failed in Query_log_event::do_apply_event(rpl_group_info*, const char*, uint32) Created: 2015-05-21 Updated: 2020-04-22 Resolved: 2019-04-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.1, 10.2 |
| Fix Version/s: | 10.3.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
|
| Comments |
| Comment by Elena Stepanova [ 2016-04-09 ] | ||||||||||||||||
|
Still happens on current 10.1 and 10.2. | ||||||||||||||||
| Comment by Elena Stepanova [ 2017-03-23 ] | ||||||||||||||||
|
Still happens on 10.1 and 10.2 | ||||||||||||||||
| Comment by Michael Widenius [ 2017-04-06 ] | ||||||||||||||||
|
This happens because the master writes a table_map event to the binary log, but no row event. I have fixed this for 10.3 by remembering all event types written to the log and not writing 'dummy' events to int Query_log_event::do_apply_event(rpl_group_info *rgi, Change In 10.3 we have to also check that the master > 10.3.0 I have checked the code and this is ok to do. | ||||||||||||||||
| Comment by Elena Stepanova [ 2019-04-22 ] | ||||||||||||||||
|
I assume it stayed open by mistake – there had been commits in main trees (and hence in change logs) fixing it, and indeed, it's not reproducible any longer with this particular scenario in 10.3+. | ||||||||||||||||
| Comment by Alice Sherepa [ 2019-04-23 ] | ||||||||||||||||
|
I got something similar on 10.4, once:
| ||||||||||||||||
| Comment by Elena Stepanova [ 2019-04-23 ] | ||||||||||||||||
This is likely to be |