Skip to content

[Store] Isolate owner read attempts with bounded recovery - #5777

Closed
MaskVulcan wants to merge 3 commits into
kvcache-ai:mainfrom
MaskVulcan:ssd/owner-read-controller
Closed

MaskVulcan wants to merge 3 commits into
kvcache-ai:mainfrom
MaskVulcan:ssd/owner-read-controller

Conversation

@MaskVulcan

@MaskVulcan MaskVulcan commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Extract the owner-read controller from prototype #5766. It validates
object ranges, retains managed destination registrations through uncertain
writes, bounds recovery calls, and keeps cleanup available after a busy close.

This draft also fixes request publication racing recovery, retires exact
request IDs so out-of-order arrival remains valid, evicts terminal results
by completion order, and releases admission credits when an operation is
abandoned before starting. Retired ID ranges coalesce within a bounded budget.

Depends on #5772. The incremental diff is
MaskVulcan/Mooncake@ssd/read-pipeline...ssd/owner-read-controller.
Related RFC #5768.

The controller accepts injected storage and transport adapters. The public
managed-buffer API, authenticated network listener, peer-epoch retirement,
and production TCP/RDMA adapters are follow-up integration. An unresolved
attempt retains its allocation owner and cannot publish data.

Suggested Merge Priority

  • P2 — Normal

Module

  • Mooncake Store
  • Docs

Type of Change

  • New feature
  • Bug fix

How Has This Been Tested?

  • Five main Release CTest targets passed.
  • All 68 controller cases passed five shuffled ASan/UBSan rounds.
  • Cases include lost replies, wrong owner epoch, pending close, source and
    destination bounds, replay, concurrent terminal eviction, and delayed
    request arrival after recovery of a newer ID.
  • Sphinx strict build and scoped pre-commit passed.

Checklist

AI Assistance Disclosure

Codex assisted with extraction, fixes, and validation.

Signed-off-by: MaskVulcan <9528071+MaskVulcan@users.noreply.github.com>
Signed-off-by: MaskVulcan <9528071+MaskVulcan@users.noreply.github.com>
Signed-off-by: MaskVulcan <9528071+MaskVulcan@users.noreply.github.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation run-ci Store Common size/L 1001+ changed lines (additions + deletions) labels Nov 23, 2026
@MaskVulcan

Copy link
Copy Markdown
Collaborator Author

Superseded and consolidated into Draft PR #5789 (Part 3 of the 5-PR SSD Offload series tracked in RFC #5768).

@MaskVulcan MaskVulcan closed this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Common documentation Improvements or additions to documentation run-ci size/L 1001+ changed lines (additions + deletions) Store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant