mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #852] [MERGED] feat(store): support transfer engine p2phandshake #1868
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#1868
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/852
Author: @xiaguan
Created: 9/17/2025
Status: ✅ Merged
Merged: 9/22/2025
Merged by: @xiaguan
Base:
main← Head:client_id_as_segment_name📝 Commits (10+)
9ae0368feat(allocator): Add transport endpoint support for segment transfers0300ec9refactor(Client): Replace segment_name with transport_endpoint in buffer descriptors and tests133a253refactor(test): switch to in-proc master and remove external service management5fe5047style: format code and adjust transfer task timeoutf7b9d05feat(Client::MountSegment): set te_endpoint conditionally based on metadata_connstring for P2P mode761b62bAllow configuring default KV lease TTL via environment variable7f74a25style: format CI config and add nodiscard to methodsf274c74refactor(tests): remove local_hostname parameter and improve test helpers15e6931refactor(TransferSubmitter): Remove unused local_hostname_ member and validation check4ffa78eMerge commit '356d99fb28' into client_id_as_segment_name📊 Changes
22 files changed (+419 additions, -428 deletions)
View changed files
📝
.github/workflows/ci.yml(+0 -13)📝
docs/source/python-api-reference/mooncake-store.md(+36 -11)📝
mooncake-store/include/allocator.h(+16 -4)📝
mooncake-store/include/client.h(+4 -0)📝
mooncake-store/include/transfer_task.h(+0 -2)📝
mooncake-store/include/types.h(+4 -6)📝
mooncake-store/src/allocator.cpp(+19 -6)📝
mooncake-store/src/client.cpp(+17 -3)📝
mooncake-store/src/segment.cpp(+3 -3)📝
mooncake-store/src/transfer_task.cpp(+22 -13)📝
mooncake-store/tests/allocation_strategy_test.cpp(+24 -21)📝
mooncake-store/tests/buffer_allocator_test.cpp(+30 -23)📝
mooncake-store/tests/client_buffer_test.cpp(+0 -3)📝
mooncake-store/tests/client_integration_test.cpp(+28 -17)📝
mooncake-store/tests/master_service_ssd_test.cpp(+37 -7)📝
mooncake-store/tests/master_service_test.cpp(+121 -223)📝
mooncake-store/tests/non_ha_reconnect_test.cpp(+5 -6)📝
mooncake-store/tests/pybind_client_test.cpp(+26 -47)📝
mooncake-store/tests/test_server_helpers.h(+20 -11)📝
mooncake-transfer-engine/src/transport/ascend_transport/hccl_transport/hccl_transport.cpp(+1 -2)...and 2 more files
📄 Description
After this, we no longer rely on any external metadata service — only
Masteris all we need. Also, with this change, TE's lifecycle is tied to the client's, so we don't have to handle metadata re-insertion when client reconnects to master.For compatibility, we still kept the old metadata URLs for now, but as we roll out new releases, I think we can deprecate them.
still, not sure if this brings side effects in other areas, e.g., performance impact
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.