mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #850] [Feature Request]: Avoid data corruption in slow Get #258
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#258
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/850
Describe your feature request
Currently Mooncake Store relies on lease to protect objects from eviction and removing during data transferring. However, if data transfer takes too long (because of huge object or poor network), objects may be evicted or removed before the transfer is completed, causing the client to read corrupted data.
A simple solution is to check whether the objects are still valid after completing a long-time transmission, then discard read data of invalid objects. This may slightly degrade the performance, so maybe we should make it configurable.
Before submitting a new issue...
@ykwd commented on GitHub (Sep 18, 2025):
That’s a great suggestion. In fact, this work is already in progress: #778. It was just delayed due to some other tasks, but I’ll make sure to complete it soon.
@friday0513 commented on GitHub (Sep 19, 2025):
"Double check" may not be a perfect solution: between transferring the the post check, many things may happen.
i.e., that slice of memory may be allocated for another token, or the evicted KVCache may be rewrite to a new address by other clients, both may cause mistakes for the checking.
@ykwd commented on GitHub (Sep 25, 2025):
Thanks for the suggestion! This feature has now been implemented #778