[MDEV-8154] rpl.show_status_stop_slave_race-7126 sporadically causes internal check failure Created: 2015-05-13 Updated: 2015-09-28 Resolved: 2015-05-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.0 |
| Fix Version/s: | 5.5.46, 10.0.20 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Elena Stepanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Reported by AL13N on IRC. I am also getting the failure (sporadically, but often enough) on a release build, but not on a debug build.
Here is what I think is happening: The test runs "START SLAVE; STOP SLAVE" multiple times concurrently in two connections; so sometimes STOP from one connection interrupts starting from another connection, and the slave IO thread stops with the 'interrupted system call' error. If it happens to be the last state at the end of the concurrent flow, the test ends with this status because it doesn't have replication cleanup at the end. The change below seems to fix the problem, but I need a confirmation that the "Interrupted system call" status is really allowed here.
|
| Comments |
| Comment by Elena Stepanova [ 2015-05-13 ] |
|
knielsen, could you please take a look to confirm (or not confirm) that it's a test problem only? |
| Comment by Kristian Nielsen [ 2015-05-13 ] |
|
It should be ok. "Interrupted system call" is how STOP SLAVE is able to |
| Comment by Elena Stepanova [ 2015-05-13 ] |
|
Pushed into 10.0: |
| Comment by Elena Stepanova [ 2015-09-28 ] |
|
Also applied to 5.5 |