Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL), 10.5, 10.6, 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.3(EOL), 11.4
Description
MTR/CLI testcase (works as given in both):
SET GLOBAL delay_key_write=ALL; |
CREATE TABLE t (c INT KEY) ENGINE=MyISAM; |
SET GLOBAL key_cache_segments=10; |
INSERT INTO t VALUES (1); |
SET GLOBAL key_cache_segments=10, GLOBAL table_open_cache=1024; |
INSERT INTO t VALUES (1); |
Leads to:
11.4.0 9b1ea6904965dd345478dedd80e181ad54c767da (Debug) |
11.4.0-dbg>INSERT INTO t VALUES (1);
|
ERROR 126 (HY000): Index for table './test/t.MYI' is corrupt; try to repair it
|
11.4.0 9b1ea6904965dd345478dedd80e181ad54c767da (Debug) |
2024-02-12 14:15:23 4 [ERROR] mariadbd: Index for table './test/t.MYI' is corrupt; try to repair it
|
2024-02-12 14:15:23 4 [ERROR] mariadbd: Index for table './test/t.MYI' is corrupt; try to repair it 2024-02-12 14:15:23 4 [ERROR] Got an error from thread_id=4, /test/11.4_dbg/storage/myisam/mi_write.c:226 2024-02-12 14:15:23 4 [ERROR] MariaDB thread id 4, OS thread handle 23084779529792, query id 8 localhost root Update
|
INSERT INTO t VALUES (1) 2024-02-12 14:15:23 4 [ERROR] mariadbd: Index for table 't' is corrupt; try to repair it
|