mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #849] [Feature Request]: Cleanup invalid objects when client terminated right after PutStart #257
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#257
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?
Originally created by @nickyc975 on GitHub (Sep 17, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/849
Describe your feature request
Currently in Mooncake Store, if a client got killed right after
PutStart, the incomplete object would be left in master forever, and laterPutStartoperations on the same key would all fail.A possible solution is to record the 'owner client' of each processing object, and clear these objects when the corresponding client is expired due to pinging timedout.
Before submitting a new issue...
@ykwd commented on GitHub (Sep 18, 2025):
Thanks for bringing this up. A simple temporary workaround is to set a sufficiently long timeout (e.g., 10 minutes). However, this still cannot fully guarantee data integrity, since there’s no reliable mechanism to ensure that the RDMA write operation has stopped before the given timeout. Another potential approach is to switch from a put model to a get model—i.e., when A wants to put a slice to B, it instead notifies B to fetch the slice from A. But this would significantly increase system complexity and could also impact performance. We do plan to address this issue, though the exact solution is not yet finalized.
@github-actions[bot] commented on GitHub (Jun 27, 2026):
This issue has had no activity for 90 days and will be closed in 7 days if there is no further activity. Please comment or react if it should stay open.
@github-actions[bot] commented on GitHub (Jul 5, 2026):
Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.