Skip to content

feat: Add a qualified Mooncake Store prefix adapter #3701

Backlog

Description

@inureyes

Problem / Background

Mooncake Store can retain shared objects independently of request-scoped P/D transfers.

Proposed Solution

Implement ADR 0011 with a pinned master/client pair, bounded host staging, immutable shard publication and per-object result handling.

Acceptance Criteria

  • A real Mooncake Store deployment restores prefixes into a second mlxcel process with empty APC.
  • Eviction between lookup and read, partial batch failure and master outage produce safe misses.
  • Publish deployment recipe, protocol, byte counters and parity results.

Mooncake object mapping and lifecycle

Use #3699 and pin a real Mooncake Store master/client pair. Begin with host buffers over TCP. Document object key derivation, per-item return codes, batch limits, manifest commit visibility and which component serializes publication for duplicate writers.

Make each checkout of a staging buffer a lease through asynchronous completion. Treat a lost object between lookup and fetch as a recoverable miss. Validate length and digest before copying; release registered memory on completion, shutdown and failure. Report the selected store protocol and staging path.

Start a master and store client, publish from process A, and serve a divergent suffix in process B. Remove one middle object and inject one failure in a batch. Assert the contiguous usable prefix, actual suffix recomputation, parity and released leases. Direct Mooncake Transfer Engine P/D is a separate capability. Mooncake Store quickstart

Design reference in ADR 0011 and design PR #3709. Parent epic #3697.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:inferencepriority:highstatus:blockedtype:enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions