mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
24cbab0f274e8aafb9febc88760e0d81e3cb9cc6
Snapshot and fork attempts stamp the entry they create with their intent id (swb.attempt). An attempt deletes its own intent only when its own create is confirmed (applied, or found by the re-read with its attempt id) or refused by the filer's "already exists" answer, or when it never sent the create (deadline). Any other failure leaves the create unsettled and the intent in place, even when the re-read finds another attempt's entry: the held create may land after that entry is removed. No attempt, and no replay, deletes another attempt's intent (W5 rule); tag-wide settleIntents is removed. The fake filer gains held creates (deferCreate) and releaseDeferredCreates, which applies them later only if the name is still free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%