Skip to content

[Store] Restore local SSD objects through bounded staging slots - #5772

Closed
MaskVulcan wants to merge 2 commits into
kvcache-ai:mainfrom
MaskVulcan:ssd/read-pipeline
Closed

MaskVulcan wants to merge 2 commits into
kvcache-ai:mainfrom
MaskVulcan:ssd/read-pipeline

Conversation

@MaskVulcan

@MaskVulcan MaskVulcan commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Allow same-client SSD restores to read objects larger than the staging arena.
The bucket backend pins immutable file locations, reads through bounded slots,
and copies completed chunks into CPU destinations. Enable it with
MOONCAKE_OFFLOAD_LOCAL_STREAMING_READ=true.

The whole batch is checked before copying, executor saturation waits for
credit, and shutdown waits for accepted local reads. Object ranges and
noncontiguous destination buffers are supported. This is the portable pread
stage of RFC #5768, extracted from prototype #5766.

Suggested Merge Priority

  • P2 — Normal

Module

  • Mooncake Store
  • Docs

Type of Change

  • New feature

How Has This Been Tested?

  • Release CTest passed all four FileStorage, planner, source, and executor targets.
  • Five FileStorage integration cases passed, covering a 20 MiB value through an
    8 MiB arena, ranges, preflight errors, overlap rejection, and source limits.
  • Source and executor regressions passed five repeats after the backpressure fix.
  • Sphinx strict build and scoped pre-commit passed.

Checklist

AI Assistance Disclosure

Codex assisted with implementation, tests, and local validation.

Signed-off-by: MaskVulcan <9528071+MaskVulcan@users.noreply.github.com>
Signed-off-by: MaskVulcan <9528071+MaskVulcan@users.noreply.github.com>
@MaskVulcan

Copy link
Copy Markdown
Collaborator Author

Consolidated into Draft PR #5788 (Part 2 of the 5-PR SSD Offload series tracked in RFC #5768).

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