mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1319] [MERGED] [Store] - Implement partial success handling in BatchOffload #2158
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#2158
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/1319
Author: @maheshrbapatu
Created: 1/3/2026
Status: ✅ Merged
Merged: 1/7/2026
Merged by: @stmatengss
Base:
main← Head:partial_success📝 Commits (2)
39a95cbfeat: Add deterministic test failure injection for partial success testing5fd9740Addressed review comments📊 Changes
3 files changed (+210 additions, -19 deletions)
View changed files
📝
mooncake-store/include/storage_backend.h(+33 -0)📝
mooncake-store/src/storage_backend.cpp(+52 -19)📝
mooncake-store/tests/storage_backend_test.cpp(+125 -0)📄 Description
Description
Implement partial success handling in BatchOffload for both StorageBackendAdaptor and OffsetAllocatorStorageBackend. When some keys fail but others succeed, continue processing and report only successful keys to master via complete_handler. This prevents inconsistency where storage backend has written keys but master wasn't notified.
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.