[MDEV-6435] Assertion `m_status == DA_ERROR' failed in Diagnostics_area::sql_errno() with parallel replication Created: 2014-07-10 Updated: 2014-07-10 Resolved: 2014-07-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.0.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
With the ugly test below, started with slave-parallel-threads=16 and repeated multiple times, I am getting sporadic failures. I am not 100% sure the problem does not exist in 10.0 tree, but I wasn't able to reproduce it there so far, and neither could I reproduce it without slave-parallel-threads.
|
| Comments |
| Comment by Kristian Nielsen [ 2014-07-10 ] | |||||||||||||||||||||||||
|
Ok, I see what's going on here, I think. The query is MyISAM, it partially executes and is then killed. So the slave does not execute the query, but logs an error message to the In this case, there is a bug in the new code. The code does not set an actual I found the below test case that can more reliably reproduce. The trick seems
| |||||||||||||||||||||||||
| Comment by Kristian Nielsen [ 2014-07-10 ] | |||||||||||||||||||||||||
|
Pushed to lp:~maria-captains/maria/10.0-knielsen (This bug is in code that was never pushed to a main tree) |