Files
seaweedfs/weed/server
Chris LuandClaude Opus 5.5 91caa97b8e filer: answer forwarded creates, updates and deletes after replaying them (#13406)
* filer: answer a forwarded create or update after replaying it

A conditional or exclusive create, or a conditional update, is forwarded
to the entry's write owner and stored there first. When the owner keeps a
store of its own, the forwarding filer sees the write only once it replays
the owner's event, so the caller's next lookup through it could find the
file missing or stale: a mount reopening the file it just closed got
ENOENT. Wait for that replay before answering, as a forwarded rename
already does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* filer: answer a forwarded delete after replaying it

A delete forwarded to the write owner removes the entry there first; until
this filer replays the owner's event, a lookup through it still finds the
entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* filer: skip the replay wait for an owner on this filer's store

An owner that runs on this filer's store wrote the entry there already, so
waiting for its event to replay only delays the answer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 11:16:38 -08:00
..
2026-02-20 18:42:00 -08:00