[MDEV-24468] mariadb crashes when converting a large table to innodb Created: 2020-12-22 Updated: 2023-02-20 Resolved: 2023-02-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Philip orleans | Assignee: | Marko Mäkelä |
| Resolution: | Cannot Reproduce | Votes: | 2 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
I have table like this:
it has 600 M rows.
|
| Comments |
| Comment by Alice Sherepa [ 2020-12-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Could you please provide the error.log? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Philip orleans [ 2020-12-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I attached the file. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2020-12-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
from the error log:
InnoDB returned errors "failed with error 28" which means no space left on device | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Philip orleans [ 2020-12-23 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I doubled the space and doubled the memory, then I did this I measured the hard dis performance and it is very good also, my fstab shows that for 60 seconds we keep changes in RAM UUID=f0064792-ae71-11ea-a045-005056ab3905 / ext4 noatime,relatime,barrier=0,commit=60,defaults 0 0 What I mean to show is that hardware is fine. This is a problem with innodb. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2020-12-23 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This looks similar to the
https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ gdb --batch --eval-command="thread apply all bt" <path to mysqld> <path to core file> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Philip orleans [ 2020-12-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I installed the version in | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-01-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've just tried to install packages from http://hasky.askmonty.org/archive/10.5/build-37564/kvm-deb-bionic-amd64/debs/binary/ on a clean bionic VM image, it installed successfully. It depends on libc6 (>= 2.27) and bionic has 2.27 (https://packages.ubuntu.com/bionic/libc6). What did you see? What libc did you have, what libc did mariadb packages require, and what error did you see? |