[MDEV-28777] binlog.binlog_truncate_multi_engine failed in bb with Lost connection to server during query Created: 2022-06-08 Updated: 2023-04-17 Resolved: 2023-04-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.6, 10.8 |
| Fix Version/s: | 10.11.3, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Angelique Sklavounos (Inactive) | Assignee: | Andrei Elkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
https://buildbot.askmonty.org/buildbot/builders/kvm-rpm-centos74-amd64-debug/builds/8853
Has happened a few times, always on kvm-rpm-centos74-amd64-debug. |
| Comments |
| Comment by Sergei Golubchik [ 2022-11-15 ] | |||||||||||||||||||||
|
Binlog does
Then in run_commit_ordered()
When the server is being shut down it runs
which does
but this mutex is already taken by the group commit leader, which is forever waiting on the "commit_after_run_commit_ordered" sync point. mysqltest gives up waiting for the server to shut down and kills it with SIGABRT. | |||||||||||||||||||||
| Comment by Andrei Elkin [ 2023-04-14 ] | |||||||||||||||||||||
|
Interestingly S@rg's comments in there talk about a different already fixed by him `2ab52cc0e5c3` issue in the case C. This time it is B. | |||||||||||||||||||||
| Comment by Angelique Sklavounos (Inactive) [ 2023-04-14 ] | |||||||||||||||||||||
|
Thanks, the fix makes sense to me. |