[MDEV-32847] MariaDB hangs on Create Table Created: 2023-11-20 Updated: 2024-02-07 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Create Table, Storage Engine - InnoDB |
| Affects Version/s: | 10.6.16 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Stephane Bakhos | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 22.04 |
||
| Attachments: |
|
| Description |
|
We are frequently experiencing hangs restoring data from dumps taken by mysqldump. This happens whether or not the data comes in through the replication or a direct communication. We've tried to search for an existing report, but the lack of error message provides a challenge. Once the hang happens, other queries get stuck.
2023-11-20 14:57:22 5 [Note] Slave IO thread is reconnected to receive Gtid_log_event 2-2-21297. It is to skip 1 already received events including the gtid one Your assistance in bug reporting will enable us to fix this for the next release. We will try our best to scrape up some info that will hopefully help Server version: 10.6.16-MariaDB-1:10.6.16+maria~ubu2204-log source revision: b83c379420a8846ae4b28768d3c81fa354cca056 Thread pointer: 0x0 Kernel version: Linux version 5.15.0-87-generic (buildd@lcy02-amd64-011) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #97-Ubuntu SMP Mon Oct 2 21:09:21 UTC 2023 {/code}I have attached the backtrace of the relevant thread. |
| Comments |
| Comment by Marko Mäkelä [ 2023-11-21 ] | |||
|
Thank you for the report. Unfortunately, the attachment bt.txt Can you attach the output of the following GDB statements on the hang:
Also, if possible, preserve a core dump of the hang or retain the debugger session open, so that further details can be checked if needed. | |||
| Comment by Stephane Bakhos [ 2023-11-21 ] | |||
|
Thank you Marko. There is a lot of gdb log to sanitize from the one that I extracted bt.txt, I'll keep working on it. In the meantime, I got the issue to happen again, but the replica sql thread was stuck on NULL. I've attached that full log. gdb_output2.log | |||
| Comment by Stephane Bakhos [ 2023-11-28 ] | |||
|
Does gdb_output2.log provide what you need? Its a much simpler trace as there was no other connection on the server. |