Skip to content

fix(inkless:consolidation): reject follower reads below the cross-tier earliest [KC-332]#720

Draft
viktorsomogyi wants to merge 1 commit into
svv/ts-unification-reclaim-floorfrom
svv/ts-unification-follower-reads
Draft

fix(inkless:consolidation): reject follower reads below the cross-tier earliest [KC-332]#720
viktorsomogyi wants to merge 1 commit into
svv/ts-unification-reclaim-floorfrom
svv/ts-unification-follower-reads

Conversation

@viktorsomogyi

Copy link
Copy Markdown
Contributor

Followers keep a stale local logStartOffset (frozen at the seal) after a switch, so an older consumer routed there could read logically-deleted records. Consult the control-plane cross-tier earliest and reject such fetches with OFFSET_OUT_OF_RANGE (fail-open when unavailable). Adds unit tests.

@viktorsomogyi
viktorsomogyi requested a review from ivanyu July 23, 2026 08:28
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-follower-reads branch from 52cf871 to 8a1d7f2 Compare July 23, 2026 09:59
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-reclaim-floor branch from 86e3b1a to a6f0a03 Compare July 23, 2026 15:37
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-follower-reads branch from 8a1d7f2 to 9a10866 Compare July 23, 2026 15:39
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-reclaim-floor branch 2 times, most recently from bbca8b1 to f6c0f80 Compare July 23, 2026 15:47
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-follower-reads branch from 9a10866 to 8a6d2c9 Compare July 23, 2026 15:49
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-reclaim-floor branch from f6c0f80 to e3f351d Compare July 24, 2026 12:17
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-follower-reads branch from 8a6d2c9 to 0982191 Compare July 24, 2026 12:17
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-reclaim-floor branch from e3f351d to 5079dcd Compare July 24, 2026 13:07
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-follower-reads branch from 0982191 to 5ec5117 Compare July 24, 2026 13:10
…r earliest [KC-332]

Followers keep a stale local logStartOffset (frozen at the seal) after a switch,
so an older consumer routed there could read logically-deleted records. Consult
the control-plane cross-tier earliest and reject such fetches with
OFFSET_OUT_OF_RANGE (fail-open when unavailable). Adds unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-follower-reads branch from 5ec5117 to 771e660 Compare July 24, 2026 13:46
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