[MDEV-30970] Server partially freezed after upgrade to 10.6 Created: 2023-03-30 Updated: 2023-05-10 Resolved: 2023-05-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.6.12 |
| Fix Version/s: | 11.1.1, 10.11.3, 11.0.2, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Patrick Moiroux | Assignee: | Marko Mäkelä |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | innodb | ||
| Environment: |
Centos7 (Reproductible on Rocky8) MariaDB-client.x86_64 10.6.12-1.el7.centos @mariadb CentOS Linux release 7.9.2009 (Core) Memory: 192 GB in test / 256 GB in Prod |
||
| Issue Links: |
|
||||||||
| Description |
|
After upgrade from 10.3 to 10.6.12, queries stay running forever. if I kill the query, it stays in status "Killed" forever. Only way is to kill the mysql process. Maybe related to I generated a core dump (17 GB) and output of SHOW ENGINE INNODB STATUS Let me know how I can send you the core dump. It's really critical for us, affecting Production |
| Comments |
| Comment by Daniel Black [ 2023-03-31 ] |
|
On For large uploads - the ftp service on https://mariadb.com/kb/en/meta/mariadb-ftp-server/ is a way. Optionally: Or with the core dump and debug install symbols included create a backtrace yourself using gdb. |
| Comment by Marko Mäkelä [ 2023-03-31 ] |
|
Thank you, danblack. One thing that I didn’t find in that document with quick searching is a mention that if a core dump is copied to another system for analysis, on the receiving system all dynamic libraries need to be identical, or the stack traces may be completely messed up. To get a list of most libraries, ldd /usr/sbin/mariadbd. To tell GDB to use different libraries, use set solib-search-path or set solib-absolute-prefix. Currently, the only InnoDB hang that I know exists in 10.6.12 is |
| Comment by Patrick Moiroux [ 2023-03-31 ] |
|
Thanks for your reply. I generated the backtrace. ldd /usr/sbin/mariadbd I uploaded the file to the FTP private folder: curl -T Please let me know if it's related to Do you know when 10.6.13 will be available ? Thanks |
| Comment by Daniel Black [ 2023-04-03 ] |
|
Thanks pmoiroux, Looking at the backtrace provided: Thread 464 (Thread 0x7f79b5f2f700 (LWP 55845)) has recursive btr_page_split_and_insert call like
10.6.13 scheduled for 2023-04-27. |
| Comment by Patrick Moiroux [ 2023-04-05 ] |
|
Thanks, I've installed latest version in test and I'm trying to reproduce the issue. I will let you know how it goes.. Patrick |
| Comment by Marko Mäkelä [ 2023-05-08 ] |
|
pmoiroux, did the hang disappear when using the development snapshot? |
| Comment by Patrick Moiroux [ 2023-05-09 ] |
|
Hi Marko, I was not able to reproduce the issue in test so you can close this one. I'm still waiting for the official release to update Production. Any idea when it will be available ? Was supposed to be 2023-04-27 ? Thanks, |
| Comment by Marko Mäkelä [ 2023-05-09 ] |
|
pmoiroux, thank you. I would expect the 10.x quarterly releases to become available this week. The release process has been started. |
| Comment by Marko Mäkelä [ 2023-05-10 ] |
|
The quarterly releases of MariaDB Server 10.6.19 through 10.11.3 are now available. |