mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
filer: carry a create's fsync request in CreateEntryRequest
The per-request fsync is a context mark on the receiving filer, so a create forwarded to another filer lost it. CreateEntry now applies the request's fsync flag to its store write. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b8d652cc10
commit
f0928124ec
6 files changed
+111
-8
No files matched your search
@@ -262,6 +262,8 @@ message CreateEntryRequest {
|
||||
// Set on a create a filer forwarded to the entry's ring owner, so the owner
|
||||
// applies it locally instead of forwarding again. Clients leave it unset.
|
||||
bool is_moved = 8;
|
||||
// The store write must be durable before the reply, as for ?fsync=true.
|
||||
bool fsync = 9;
|
||||
}
|
||||
|
||||
// WriteCondition is the precondition the filer evaluates against the existing
|
||||
|
||||
Reference in new issue
Block a user