mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1278] [CLOSED] [Store]: add replica move and copy support #2128
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#2128
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/1278
Author: @zhongzhouTan-coder
Created: 12/25/2025
Status: ❌ Closed
Base:
main← Head:feature/replica-move-copy📝 Commits (10+)
9c206a7[Store]: initialize the basic task data structuref3b5634[Store]: implement the task manager1dd7c49[Store]: change the mutex to custom mutext0f191a5[Store]: implement copy and move, query task api3bbed33[Store]: change the task manager lock to be sharedc1d3322[Store]: change the task to struct when submit462ff53[Store]: Add AllocateFrom to allocate replica from specified segment8668c69[Store]: Add Move/Copy interfaceseff6b1f[Store]: Refactored ObjectMetadata replica managementf8574c4[Store]: Rename Replica::get_segment_names to get_segment_name📊 Changes
49 files changed (+7353 additions, -356 deletions)
View changed files
📝
docs/source/deployment/mooncake-store-deployment-guide.md(+9 -1)📝
docs/source/design/mooncake-store.md(+71 -8)➕
docs/source/image/mooncake-store-client-create-copy-task.png(+0 -0)➕
docs/source/image/mooncake-store-client-create-move-task.png(+0 -0)📝
docs/source/python-api-reference/mooncake-store.md(+126 -0)📝
docs/source/zh_archive/mooncake-store.md(+66 -7)📝
mooncake-integration/store/store_py.cpp(+108 -1)📝
mooncake-store/include/allocation_strategy.h(+43 -0)📝
mooncake-store/include/client_buffer.hpp(+5 -5)📝
mooncake-store/include/client_service.h(+87 -0)📝
mooncake-store/include/dummy_client.h(+9 -0)📝
mooncake-store/include/master_client.h(+104 -0)📝
mooncake-store/include/master_config.h(+127 -1)📝
mooncake-store/include/master_metric_manager.h(+79 -0)📝
mooncake-store/include/master_service.h(+246 -74)📝
mooncake-store/include/pyclient.h(+10 -0)📝
mooncake-store/include/real_client.h(+31 -0)📝
mooncake-store/include/replica.h(+69 -17)📝
mooncake-store/include/rpc_service.h(+35 -0)📝
mooncake-store/include/rpc_types.h(+88 -1)...and 29 more files
📄 Description
Description
In order to support the dynamic replica adjustment, we need to support replica move and copy first, so we implement the basic replica copy and move features.
The detailed architecture design in the RFC: https://github.com/kvcache-ai/Mooncake/issues/1159
Type of Change
How Has This Been Tested?
[x] basic unit test
[x] basic integration test
Checklist
Co-authors
Co-authored-by: Chen Jinlong chenjinlong.cjl@alibaba-inc.com
Co-authored-by: Vincent Gao vincentbo@linux.alibaba.com
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.