Skip to content

An index whose header is in a format no longer read is named, not fatal - #1336

Merged
noha merged 1 commit into
mainfrom
the-check-names-an-index-with-an-outdated-header
Oct 10, 2026
Merged

noha merged 1 commit into
mainfrom
the-check-names-an-index-with-an-outdated-header

Conversation

@noha

@noha noha commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

A header page was written back in the version it was read in, so indexes from before 2024-07-29 (version 1) and 2025-10-14 (version 2) kept their old headers. Since 8532494 a header is read in today's format only: the level comes out as 0, and the check died on the first value it read from such an index, at rightAt: 1, leaving no report for the database at all.

The check now reads the version of every header page it reaches first. One older than the latest is named as SoilOutdatedIndexHeader, with no repair, and its links, pages, size and values are left alone. The walk goes on.

A header page was written back in the version it was read in, so indexes
from before 2024-07-29 (version 1) and 2025-10-14 (version 2) kept their
old headers. Since 8532494 a header is read in today's format only: the
level comes out as 0, and the check died on the first value it read from
such an index, at rightAt: 1, leaving no report for the database at all.

The check now reads the version of every header page it reaches first. One
older than the latest is named as SoilOutdatedIndexHeader, with no repair,
and its links, pages, size and values are left alone. The walk goes on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noha
noha requested a review from MarcusDenker October 10, 2026 07:45
@noha
noha merged commit e093c1e into main Oct 10, 2026
5 checks passed
@noha
noha deleted the the-check-names-an-index-with-an-outdated-header branch October 10, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant