Mooncake/scripts
tang c724318217
[Store][Feature] copy and move client support (#1364)
* [Store]: add task executor feature with unit and executor test

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>

* [Store]: add some optimizations to task executor

Refactor the task_executor into the client_service and add a
task structure on the client side. Additionally, remove the
existence check in the execute function;
only retrying should be performed if replica allocation fails.

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>

* [Store]: get source replica from copyStart or moveStart api

* [Store]: call move or copy end if the target replica already exist to complete the replication task

* [Store]: use the max_retry_attempts in master side

* [Store]: add client integration test and set default max_retry_attempts to 10

* [Doc] update task api introduction

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>

* [Store] Set copy and move as private methods

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>

* [Doc]: change the default task max_retry_attempts to 10

* [Doc]: fix some description error

* [Store]: allocate the buffer size to be a multiple of 16MB

* [Store]: validate the replica is in local and directly construct slices from replica buffer address instead of copy the data to local buffer

* [Store]: change the validate logic to directly use transfer engine endpoint or local_hostname_.

* [Store] add e2e ci test for copy and move api

* [Store] refactor the client move and copy function

* [Store] fix the e2e test

* [Store] remove unused code

* [Store] add source field when build replica copy payload in the task_manager_test

* [Store] rename back to snake case for split_into_slices function and also remove hard code for client poll count

* [Store] revert mis deleted field when resolve conflicts

* [Store] change test to validate the real behaviour

* [Store] change the default task fetch size to 16

* [Doc]: change the replica copy/move sequence diagram

* [Store] add new split_into_slice method

* [Store] change the real client to use split_to_slice with buffer handle parameters

---------

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>
Co-authored-by: Vincent Gao <vincentbo@linux.alibaba.com>
2026-02-06 19:02:02 +08:00
..
ascend [TransferEngine] heterogeneous_ascend support kv-cache transfer between npu and gpu (#759) 2025-09-03 09:41:48 +08:00
tone_tests [CI]Add vllm 1p1d test case (#1491) 2026-02-05 10:40:53 +08:00
build_wheel.sh [Misc] fix wheel build script (#1504) 2026-02-06 10:59:55 +08:00
code_format.sh [CI] chore: update clang-format to v20.1.8 and enforce version 20 (#1379) 2026-01-21 00:08:52 +08:00
generate_cluster_topology.py [TE] Add TENT codebase to main (Phase 1: structural import) (#1213) 2025-12-22 19:22:13 +08:00
run_tests.sh [Wheel] Remove the default buffer pre-allocation in initialize() (#1415) 2026-01-21 23:14:41 +08:00
test_async_store.py [store] add async api (#1265) 2025-12-25 16:46:14 +08:00
test_copy_move_api.py [Store][Feature] copy and move client support (#1364) 2026-02-06 19:02:02 +08:00
test_installation.sh [Store] feat: Add standalone deployment implementation for Client (#1084) 2025-11-25 23:57:30 +08:00
test_tensor_api.py [store] support batch pub and tp aware for pub_tensor (#1288) 2025-12-29 11:07:26 +08:00