Skip to content

fix(inkless:consolidation): complete the classic-to-consolidated switch by always sealing and registering#651

Draft
viktorsomogyi wants to merge 1 commit into
svv/ts-unification-remote-readfrom
svv/ts-unification-seal-fix
Draft

fix(inkless:consolidation): complete the classic-to-consolidated switch by always sealing and registering#651
viktorsomogyi wants to merge 1 commit into
svv/ts-unification-remote-readfrom
svv/ts-unification-seal-fix

Conversation

@viktorsomogyi

Copy link
Copy Markdown
Contributor

A switch-pending partition must take the seal+register branch in ReplicaManager.applyLocalLeadersDelta even when the topic is already a consolidating diskless topic. Otherwise consolidation claims the partition and the classic log is never sealed, leaving classicToDisklessStartOffset stuck at CLASSIC_TO_DISKLESS_SWITCH_PENDING and the switch deadlocked.

…ch by always sealing and registering

A switch-pending partition must take the seal+register branch in
ReplicaManager.applyLocalLeadersDelta even when the topic is already a
consolidating diskless topic. Otherwise consolidation claims the partition and
the classic log is never sealed, leaving classicToDisklessStartOffset stuck at
CLASSIC_TO_DISKLESS_SWITCH_PENDING and the switch deadlocked.

Co-authored-by: Cursor <cursoragent@cursor.com>
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