Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
10.2 dc91372d |
2019-08-17 20:43:39 0x7fed6c9f6700 InnoDB: Assertion failure in file /data/src/10.2/storage/innobase/log/log0log.cc line 2238
|
InnoDB: Failing assertion: lsn % OS_FILE_LOG_BLOCK_SIZE == LOG_BLOCK_HDR_SIZE
|
|
#5 0x00007fed6d93742a in __GI_abort () at abort.c:89
|
#6 0x000055d1c6fc5752 in ut_dbg_assertion_failed (expr=0x55d1c7501290 "lsn % OS_FILE_LOG_BLOCK_SIZE == LOG_BLOCK_HDR_SIZE", file=0x55d1c7500470 "/data/src/10.2/storage/innobase/log/log0log.cc", line=2238) at /data/src/10.2/storage/innobase/ut/ut0dbg.cc:60
|
#7 0x000055d1c6e4d818 in log_pad_current_log_block () at /data/src/10.2/storage/innobase/log/log0log.cc:2238
|
#8 0x000055d1c6e4d883 in log_scrub () at /data/src/10.2/storage/innobase/log/log0log.cc:2254
|
#9 0x000055d1c6e4d934 in log_scrub_thread () at /data/src/10.2/storage/innobase/log/log0log.cc:2281
|
#10 0x00007fed6f4a34a4 in start_thread (arg=0x7fed6c9f6700) at pthread_create.c:456
|
#11 0x00007fed6d9ebd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
To reproduce, bootstrap a clean datadir with all defaults and start the server with
--innodb_scrub_log=ON --innodb_scrub_log_speed=50000
|
Do it in a loop if it doesn't fail right away.
It happens pretty much every time for me on my local HDD and SSD disks, sporadically on an (apparently faster or otherwise different) SSD disk on a lab machine, and almost never in shm. So, don't run it in shm.
Happens both on debug and non-debug builds.
Couldn't reproduce on 10.1 and 10.5.
Attachments
Issue Links
- is blocked by
-
MDEV-21870 Deprecate and ignore innodb_scrub_log and innodb_scrub_log_speed
- Closed
- relates to
-
MDEV-14425 Change the InnoDB redo log format to reduce write amplification
- Closed
-
MDEV-14425 Change the InnoDB redo log format to reduce write amplification
- Closed
-
MDEV-18038 Assertion failure in innodb.undo_truncate_recover: "pad_len >= len || i * 512U >= len - pad_len || log_block_get_hdr_no( buf + i * 512U) == log_block_get_hdr_no(buf) + i"
- Closed
-
MDEV-20474 Assertion `!recv_no_log_write' failed in log_pad_current_log_block upon server startup on a clean datadir
- Closed
-
MDEV-20475 Assertion `flushed_lsn == log_get_lsn()' failed in srv_prepare_to_delete_redo_log_files upon server startup
- Closed
-
MDEV-21870 Deprecate and ignore innodb_scrub_log and innodb_scrub_log_speed
- Closed