Skip to content

feat: move pebble to v2 - #290

Draft
mmsqe wants to merge 1 commit into
cometbft:mainfrom
mmsqe:bump_pebble_v2
Draft

feat: move pebble to v2#290
mmsqe wants to merge 1 commit into
cometbft:mainfrom
mmsqe:bump_pebble_v2

Conversation

@mmsqe

@mmsqe mmsqe commented Aug 28, 2026

Copy link
Copy Markdown

v2 has the fix that fails a compaction on a block it cannot read rather than passing over it.

Existing databases sit at format major version 1, which v2 refuses to open, so the ratchet has to ship and roll out before this does.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)

@mmsqe
mmsqe requested a review from a team as a code owner August 28, 2026 02:07
@greptile-apps

greptile-apps Bot commented Aug 28, 2026

Copy link
Copy Markdown

PR author is not in the allowed authors list.

@mmsqe
mmsqe marked this pull request as draft August 28, 2026 02:07
v2 fails a compaction on a block it cannot read instead of passing over
it, and routes every detection through EventListener.DataCorruption.

A node that arrives here without having been through the ratchet release
is refused, and told to go back and take it -- the one move it cannot
make is forward, since v2 rejects the format before it would migrate it.
These stores open first, so this is where such a node stops.
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