This commit is contained in:
Chris Lu 2025-06-01 12:27:49 -07:00 committed by GitHub
parent ee0c14673d
commit 90802cb201
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,7 +122,7 @@ func (v *Volume) writeNeedle2(n *needle.Needle, checkCookie bool, fsync bool) (o
n.Ttl = v.Ttl
}
if fsync {
if !fsync {
return v.syncWrite(n, checkCookie)
} else {
asyncRequest := needle.NewAsyncRequest(n, true)