diff --git a/weed/storage/volume_write.go b/weed/storage/volume_write.go index 200ee9c14..34c86010e 100644 --- a/weed/storage/volume_write.go +++ b/weed/storage/volume_write.go @@ -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)