Bug #107594 | crash recovery process stuck with "Out of space in the redo log" | ||
---|---|---|---|
Submitted: | 19 Jun 2022 21:34 | Modified: | 27 Jun 2022 18:14 |
Reporter: | Raigedas Radisauskas | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0.28 | OS: | Debian (docker) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
Tags: | redo |
[19 Jun 2022 21:34]
Raigedas Radisauskas
[20 Jun 2022 14:16]
MySQL Verification Team
Hi, I will try to reproduce this but this looks like a "disk full" scenario. Are you sure you checked your system log for quota warnings, disk space on your system, process limits..? kind regards
[22 Jun 2022 20:23]
Raigedas Radisauskas
regarding the "disk full" scenario. i doubt it very much but unfortunately i can not disprove it. but: 1. if i remember correctly, soon after receiving those errors and before applying workaround i have even started (but cancelled in the middle) to make a backup of entire /var/lib/mysql volume and did not receive any "disk full" error from cp/mc. 2. and second... my knowledge here is very limited but it seems to me that the redo log is kind of a circular buffer which means there should never arise the situation with actual out of disk space, for me it seems that this 'out of space' error means more like 'all entries in the buffer are used up', isn't it? or maybe the DML queries were coming at too fast rate for the configured redo log?
[27 Jun 2022 18:14]
MySQL Verification Team
Hi, The only way I can see this happening is some kind of "disk full" scenario. Do not have to be disk full. Disk quota, process quota, something like that can trigger it too. I cannot see other path to "out of space" and since I cannot reproduce it (I tried 1T database filled with dummy data, could not reproduce, inspected the source code leading to the error message .. I cannot see anything wrong) there is very little we can do. Our InnoDB team will review the source code themselves leading to this error too.
[8 Oct 2024 13:10]
David Flammer
This has been happening to us about once a week on version 8.0.22 Our database size is very large (~11TB) It looks like some work was done to revamp how redo log sizing was done in 8.0.30. In our version sizing of this is explained here: https://dev.mysql.com/doc/refman/8.0/en/innodb-redo-log.html#innodb-redo-log-file-reconfig... Our settings are: innodb_log_file_size | 50331648 innodb_log_files_in_group | 2 I don't think this is due to the disk being out of space. The disk monitors say there is room on all drives, but the only way to fix this is a hard kill of the mysql process. Do you have recommendations on what we should set those values to given our conditions? Any other information I can provide?