[MDEV-23089] rpl_parallel2 fails in 10.5 Created: 2020-07-03 Updated: 2021-12-08 Resolved: 2020-08-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication, Tests |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.1.46, 10.2.33, 10.3.24, 10.4.16, 10.5.5 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Michael Widenius | Assignee: | Sachin Setiya (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ftwrl, parallelslave | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
mtr --repeat=10 rpl.rpl_parallel2 sometimes hangs in 10.5 The problem in 10.5 started after a merge from 10.3 -> 10.5 on 2 of July that enabled the test in The hangs happens in reap of "FLUSH TABLES WITH READ LOCK" at line Other things:
|
| Comments |
| Comment by Sachin Setiya (Inactive) [ 2020-07-07 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It fails in 10.5 because default slave_parallel_mode is optimistic in 10.5 and conservative in 10.4 , If I change mode in 10.4 it fails and vica versa | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2020-07-14 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Prototype Patch
More info on deadlock
in do_ftwrl_wait | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2020-07-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hang thread apply all bt gdb.txt | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sujatha Sivakumar (Inactive) [ 2020-07-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello Sachin, Thank you for working on this issue. Changes look good. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Michael Widenius [ 2020-08-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
To be able to do my part of this patch, I would need some more information:
And last, but not least. There is no patch attached to this Jira entry that I can review! I assume that the 'prototype' patch is not the final version (as it's still marked as prototype). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2020-08-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
monty patch is in this branch bb-10.5-23089 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2020-08-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It fails in 10.4 also but for that for have to change slave_parallel_mode to optimistic , In 10.1 to 10.3 there is debug assert when I change slave_parallel_mode , So the patch in bb-10.5-23089 applies to 10.4 and 10.5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2020-08-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
If I change slave_parallel_mode in 10.1 , 10.2, 10.3 I get following assert
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Michael Widenius [ 2020-08-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks for the information, will do the review of the patch tomorrow morning | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Michael Widenius [ 2020-08-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Review sent by emal | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2020-08-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Removing version 10.1 to 10.3 , Since they fail with different error. I have created |