Repository navigation
[Conductor] Add Go RPC client and C ABI bindings - #5426
Merged
Merged
Conversation
Signed-off-by: w00593015 <wanghaibo33@huawei.com>
Chase-Rong
requested review from
ShangmingCai,
UNIDY2002,
alogfans,
staryxchen,
stmatengss and
ykwd
as code owners
November 19, 2026 07:39
Chase-Rong
approved these changes
Nov 20, 2026
ConductorClient::Setup rejected every non-positive timeout, so a negative value, which previously disabled the ylt timer, started failing with INVALID_PARAMS for Python, Rust, and C callers. Accept negative timeouts again and clamp them to -1 so ylt's nanosecond conversion cannot overflow. Keep rejecting 0, which expires at once, and values above INT64_MAX / 1000000 ms. - Go maps a negative Duration to -1 instead of returning InvalidParams. - Rust rounds sub-millisecond durations up, so a nonzero Duration never becomes the rejected 0 ms. - Document the accepted range in the C and C++ headers and the Rust ClientConfig. - Cover 0, out-of-range, -1, and INT64_MIN in the C ABI test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Chase Rong <lolopop.rong@gmail.com>
RegisteredService embedded ServiceConfig and carried RootDigest at the top level. Rust ServiceInfo, the Python services dict, and Go ContextView all keep root_digest inside the hash profile. Give RegisteredService its own fields with a ResolvedHashProfile, and share the C-to-Go hash profile conversion between ListServices and GetGlobalView. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Chase Rong <lolopop.rong@gmail.com>
jfeng18
added a commit
to jfeng18/Mooncake
that referenced
this pull request
Nov 22, 2026
…presence * upstream/main: (58 commits) [Doc] Add logos and links to the ecosystem integration directory (kvcache-ai#5686) [TE] Make tebench warmup configurable and reduce workload-loop overhead (kvcache-ai#5698) [Bugfix][Store] Fix stale client record helper in HA tests (kvcache-ai#5725) [Conductor] Add Go RPC client and C ABI bindings (kvcache-ai#5426) [TENT] Add an array entry point for synchronous transfers (kvcache-ai#5525) [Doc] Document Mooncake Store HA design and recovery boundaries (kvcache-ai#5695) [CI/Build] Support independent Ascend NPU hotfix releases (kvcache-ai#5705) [TransferEngine] Support UBoE via URMA RM mode in UB Transport (kvcache-ai#5644) [Store] Bound batch OpLog pruning with a paced background worker (kvcache-ai#5432) [Bugfix][TENT] Read interval timestamps from the monotonic clock (kvcache-ai#5689) [Store] Build batch OpLog JSON and Base64 payloads once (kvcache-ai#5558) [Bugfix][Store] Validate and reserve segment OpLog entries before mutation (kvcache-ai#5555) [Store] Allow DrainJob to migrate hard-pinned objects (kvcache-ai#5673) [Store] Read an offset allocator record with one I/O, batched under io_uring (kvcache-ai#5473) [TENT] Drain the NVLink stream before freeing a sub-batch (kvcache-ai#5361) [Bugfix][Store] Protect pending bucket registrations during concurrent offload (kvcache-ai#5337) [Bugfix][Store] Recheck leases after LOCAL_DISK reads (kvcache-ai#5228) [Store][TE] Add Ascend standalone single-segment routing to classic and TENT (kvcache-ai#5417) fix: disable randomized Go heap base in NPU wheel build (kvcache-ai#5538) [TENT] Add a built-in TPU adapter backed by a pluggable buffer provider (kvcache-ai#5371) ...
jfeng18
added a commit
to jfeng18/Mooncake
that referenced
this pull request
Nov 22, 2026
…d-put-eviction * upstream/main: [Doc] Add logos and links to the ecosystem integration directory (kvcache-ai#5686) [TE] Make tebench warmup configurable and reduce workload-loop overhead (kvcache-ai#5698) [Bugfix][Store] Fix stale client record helper in HA tests (kvcache-ai#5725) [Conductor] Add Go RPC client and C ABI bindings (kvcache-ai#5426) [TENT] Add an array entry point for synchronous transfers (kvcache-ai#5525)
jfeng18
added a commit
to jfeng18/Mooncake
that referenced
this pull request
Nov 22, 2026
…t-injection * upstream/main: [Doc] Add logos and links to the ecosystem integration directory (kvcache-ai#5686) [TE] Make tebench warmup configurable and reduce workload-loop overhead (kvcache-ai#5698) [Bugfix][Store] Fix stale client record helper in HA tests (kvcache-ai#5725) [Conductor] Add Go RPC client and C ABI bindings (kvcache-ai#5426) [TENT] Add an array entry point for synchronous transfers (kvcache-ai#5525)
jfeng18
added a commit
to jfeng18/Mooncake
that referenced
this pull request
Nov 24, 2026
…le-filter-hotfix * upstream/main: (68 commits) [Build] Build Mooncake core wheels with the CPython stable ABI (kvcache-ai#5664) [TransferEngine] Add disconnect_all_peers for Ascend Direct transport (kvcache-ai#5362) [Doc] Update C++ Store RPC and metadata design docs (kvcache-ai#5582) [Bugfix][TransferEngine] Fix UB transport submit watermark using wrong per-endpoint channel count (kvcache-ai#5748) [TENT][Store] Run Mooncake Store over TENT UB, with a test-only loopback URMA adapter (kvcache-ai#5703) [Store] Add versioned route presence validation (kvcache-ai#5616) [Bugfix][Store-RS] Prevent invalid puts from evicting objects (kvcache-ai#5729) [Integration][TE] Support non-blocking whole-batch and vectorized status checks with BatchID validation (kvcache-ai#5674) [Bugfix][Store] Preserve successor in-memory runtime index (kvcache-ai#5643) [Bugfix][Store-RS] Wait for elastic allocation reclamation (kvcache-ai#5593) [TENT] fabric: use getCudaPointerInfo() for HMEM device lookup (kvcache-ai#5708) [Doc] Add the Enflame logo to supported hardware (kvcache-ai#5743) [Doc] Add logos and links to the ecosystem integration directory (kvcache-ai#5686) [TE] Make tebench warmup configurable and reduce workload-loop overhead (kvcache-ai#5698) [Bugfix][Store] Fix stale client record helper in HA tests (kvcache-ai#5725) [Conductor] Add Go RPC client and C ABI bindings (kvcache-ai#5426) [TENT] Add an array entry point for synchronous transfers (kvcache-ai#5525) [Doc] Document Mooncake Store HA design and recovery boundaries (kvcache-ai#5695) [CI/Build] Support independent Ascend NPU hotfix releases (kvcache-ai#5705) [TransferEngine] Support UBoE via URMA RM mode in UB Transport (kvcache-ai#5644) ... # Conflicts: # mooncake-store-rs/crates/mooncake-store-route/src/mesh/directory.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a Go API reference for the
mooncake_conductorclient, covering how to build the crate, integrate it into a Cargo project, and use it for prefix-cache queries and publisher registration.The reference includes:
Link the new reference from the Rust API index and Conductor design overview.
Suggested Merge Priority
Module
mooncake-conductor)Type of Change
How Has This Been Tested?
Test commands:
Test results:
Checklist
Signed-off-bytrailer matching the author.AI Assistance Disclosure
Codex assisted with drafting this PR description.