mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #840] [MERGED] refactor(store): use dedicated thread for signal handling #1862
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#1862
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/840
Author: @xiaguan
Created: 9/15/2025
Status: ✅ Merged
Merged: 9/16/2025
Merged by: @xiaguan
Base:
main← Head:fix_mem_leak📝 Commits (8)
2accd86refactor(store): use dedicated thread for signal handling and atomic cleanup2d85f95refactor(store): switch PyClient to shared_ptr and improve resource managemente1e819aMerge commit '42a9d64a66' into fix_mem_leak7b95e6frefactor(ResourceTracker): use leaked heap object to avoid static destruction order issuese88aec8test: increase unittest verbosity to show running tests6999906try fix ci23c0752fix setup after close55e8c3cfix comments📊 Changes
6 files changed (+181 additions, -87 deletions)
View changed files
📝
mooncake-integration/integration_utils.h(+4 -1)📝
mooncake-integration/store/store_py.cpp(+46 -36)📝
mooncake-store/include/pybind_client.h(+22 -8)📝
mooncake-store/src/pybind_client.cpp(+103 -37)📝
mooncake-store/tests/pybind_client_test.cpp(+4 -4)📝
mooncake-wheel/tests/test_distributed_object_store.py(+2 -1)📄 Description
Previous signal handler could potentially deadlock.
This PR uses a thread to process the signal, avoiding this issue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.