Skip to content

Conversation

@svoj
Copy link
Contributor

@svoj svoj commented Jan 17, 2026

innodb_fts.crash_recovery,release fails sporadically. In release build it silently disables sync points, which allows server to crash at aribitrary point of DDL, specifically when .frm file is created but not yet written.

Subsequent attempt to open such table at recovery (needed to obtain number of high-level indexes) leads to OPEN_FRM_CORRUPTED error rather than something like "file not found" (which is ignored by recovery). Emitted errors were not handler by mtr.

Silently ignore newly created corrupt .frm during recovery. High-level indexes were most probably not created at this point.

It is still probable that .frm got corrupted after high-level indexes were created. In this case recovery won't be able to handle stale high-level indexes and they will be preserved.

This regression was introduced by "d50663198c0 DDL recovery for high-level indexes".

innodb_fts.crash_recovery,release fails sporadically. In release
build it silently disables sync points, which allows server to
crash at aribitrary point of DDL, specifically when .frm file
is created but not yet written.

Subsequent attempt to open such table at recovery (needed to obtain
number of high-level indexes) leads to OPEN_FRM_CORRUPTED error
rather than something like "file not found" (which is ignored by
recovery). Emitted errors were not handler by mtr.

Silently ignore newly created corrupt .frm during recovery. High-level
indexes were most probably not created at this point.

It is still probable that .frm got corrupted after high-level indexes
were created. In this case recovery won't be able to handle stale
high-level indexes and they will be preserved.

This regression was introduced by "d50663198c0 DDL recovery for
high-level indexes".
@github-actions github-actions bot added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements.

Development

Successfully merging this pull request may close these issues.

1 participant