[MDEV-5636] Deadlock in RESET MASTER Created: 2014-02-09 Updated: 2014-02-10 Resolved: 2014-02-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.7 |
| Fix Version/s: | 10.0.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kristian Nielsen | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This failure is a race that is quite rare, but I can usually repeat it with ./mtr rpl.rpl_gtid_basic --repeat=100 --parallel=6 The problem is a deadlock between MYSQL_BIN_LOG::reset_logs() and There is already code that tries to deal with this, with the flag Proposed solution: set reset_master_pending in reset_logs() before taking |
| Comments |
| Comment by Kristian Nielsen [ 2014-02-09 ] |
|
Patch committed and pushed to 10.0-knielsen for test. |
| Comment by Kristian Nielsen [ 2014-02-10 ] |
|
Pushed to 10.0-base and 10.0 |