mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[PR #326] [MERGED] fix potential inconsistency in batch remove #371
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#371
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/deepseek-ai/3FS/pull/326
Author: @SF-Zhou
Created: 8/21/2025
Status: ✅ Merged
Merged: 8/21/2025
Merged by: @SF-Zhou
Base:
main← Head:SF-Zhou-patch-1📝 Commits (1)
ba0c553fix potential inconsistency in batch remove📊 Changes
1 file changed (+26 additions, -22 deletions)
View changed files
📝
src/storage/chunk_engine/src/core/engine.rs(+26 -22)📄 Description
Chunk metadata retrieved from the meta store is not real-time valid; therefore, during batch removal, partition chunk ids into batches, acquire locks in lexicographical order, fetch the latest chunk metadata, and perform batch deletion to circumvent potential data inconsistency issues.
cc #322
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.