mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[GH-ISSUE #108] Confusion About Prune Session Logic #63
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#63
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 @Clcanny on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/108
I read the code for prune session and observed the following:
MetaClientsends a prune session request to the server whenopenCreatefails for some unknown reason (possibly indicating uncertainty about whether the file session was created?).PruneSessionOpwrites a key in the formatINOS.-1.<sessionId>to FDB.SessionManagerscans forINOS.-1.<sessionId>duringloadPruneand removes these keys.However, I am unclear about the purpose of adding the
INOS.-1.<sessionId>key to FDB only to remove it later. I suspect I might be missing something - perhaps 3FS performs additional operations while scanning forINOS.-1.<sessionId>keys?Any clarification on this logic would be greatly appreciated.
Thanks for your clarification.