This commit is contained in:
Chris Lu authored and GitHub committed 2025-06-01 12:27:49 -07:00
1 parent ee0c14673d
commit 90802cb201
1 file changed
+1 -1
+1 -1
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)