mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1140] [MERGED] [mooncake-store]: prevent orphaned bucket data files from leaking dis… #2035
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#2035
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/1140
Author: @maheshrbapatu
Created: 11/29/2025
Status: ✅ Merged
Merged: 12/3/2025
Merged by: @ykwd
Base:
main← Head:issue_1139📝 Commits (5)
b8a5e78[mooncake-store]: prevent orphaned bucket data files from leaking disk space.641e1ea[mooncake-store]: prevent orphaned bucket data files from leaking disk space.7bd5a24[mooncake-store]: prevent orphaned bucket data files from leaking disk space.1648d1e[mooncake-store]: prevent orphaned bucket data files from leaking disk space.d225c9d[mooncake-store]: prevent orphaned bucket data files from leaking disk space.📊 Changes
3 files changed (+200 additions, -12 deletions)
View changed files
📝
mooncake-store/include/storage_backend.h(+1 -0)📝
mooncake-store/src/storage_backend.cpp(+84 -11)📝
mooncake-store/tests/storage_backend_test.cpp(+115 -1)📄 Description
Description
Add cleanup mechanism for bucket data files that are left orphaned when the process crashes between writing the data file and its metadata file.
Problem:
Solution:
Changes:
Issue link: https://github.com/kvcache-ai/Mooncake/issues/1139
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.