mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1146] [MERGED] feat[Store]: Refine shm mmap logic and add reconnection for Dummy Client after the Real restarted #2038
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#2038
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/1146
Author: @YiXR
Created: 12/1/2025
Status: ✅ Merged
Merged: 12/2/2025
Merged by: @ykwd
Base:
main← Head:xinyi-client📝 Commits (2)
b7c934c[Store Using memfd_create + UNIX socket for shm mmapa02d70f[Store] Add reconnection for dummy client if real client is restarted📊 Changes
7 files changed (+418 additions, -110 deletions)
View changed files
📝
mooncake-integration/store/store_py.cpp(+4 -2)📝
mooncake-store/include/dummy_client.h(+14 -6)📝
mooncake-store/include/pyclient.h(+14 -2)📝
mooncake-store/include/real_client.h(+18 -8)📝
mooncake-store/src/dummy_client.cpp(+195 -65)📝
mooncake-store/src/real_client.cpp(+172 -26)📝
mooncake-store/src/real_client_main.cpp(+1 -1)📄 Description
Description
Releated to https://github.com/kvcache-ai/Mooncake/pull/1084

Now Dummy Client can reconnect to Real Client after the Real Client restarted.
Type of Change
How Has This Been Tested?
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.