[MDEV-4394] Sporadic failures in multi_source tests Created: 2013-04-13 Updated: 2021-01-12 Resolved: 2013-04-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.1 |
| Fix Version/s: | 10.0.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tests | ||
| Description |
|
|
| Comments |
| Comment by Kristian Nielsen [ 2013-04-14 ] |
|
I checked my notes, and it turns out I already analysed this while working on global transaction Id. According to my notes, this failure is a consequence of I do not yet have an explanation how the strange inc/dec error turns up, however it fits with the place where the test fails - it is just after restarting the slave mysqld server, it will try to start the two slave threads at approximately the same time, opening a window for getting this problem. |
| Comment by Kristian Nielsen [ 2013-04-14 ] |
|
Ok, now I got it. The error occurs because monty is not using include/rpl_topology.inc, so The error location is reported incorrectly because of the general problem that Clear enough, indeed it is the file name conflict in the slave threads that is |
| Comment by Kristian Nielsen [ 2013-04-14 ] |
|
Hm, ok there are two failures mentioned here. For clarity, the |
| Comment by Michael Widenius [ 2013-04-14 ] |
|
MDEV 4033 will be pushed shortly (I also couldn't find a rpl_topology.inc file) |
| Comment by Michael Widenius [ 2013-04-14 ] |
|
Pushed into 10.0-base |
| Comment by Elena Stepanova [ 2013-04-15 ] |
|
It was a fix for the first failure (and for |
| Comment by Elena Stepanova [ 2013-04-15 ] |
|
Below is the fix. It looks innocent, so I've pushed it anyway, revno 3603. If you disagree, please feel free to revert. === modified file 'mysql-test/suite/multi_source/multisource.test'
+let $wait_for_all= 1;
+let $wait_for_all= 1; @@ -196,6 +208,12 @@ --source wait_for_sql_thread_read_all.inc +let $wait_for_all= 1; |
| Comment by Elena Stepanova [ 2013-04-15 ] |
|
Same problem appeared in info_logs on revno 3602, hence same fix (pushed as revno 3604). === modified file 'mysql-test/suite/multi_source/info_logs.test' +let $wait_for_all= 1; @@ -146,6 +153,13 @@ +let $wait_for_all= 1; |