filer: send an AtomicRenameEntry whose source misses locally to the write owner

The same race reaches the unary rename that S3, WebDAV, SFTP and fs.mv use:
an object or file created through the owner and renamed through another
filer before replication found no source. It is forwarded like the stream
rename, with is_moved bounding it to one hop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-11-27 12:34:17 -08:00
1 parent e2f4dd5a75
commit bbacaa231e
7 files changed
+114 -4

No files matched your search

@@ -556,6 +556,9 @@ message AtomicRenameEntryRequest {
// already exists. Lets a caller that authorized the rename without delete
// access on an absent target stay safe if one is created concurrently.
bool fail_if_target_exists = 6;
// Set on a rename forwarded to the source's write owner, so it is not
// forwarded again.
bool is_moved = 7;
}
message AtomicRenameEntryResponse {