Browse Source

revert part of d8c574a5ef (#6829)

pull/6224/merge
Chris Lu 2 days ago
committed by GitHub
parent
commit
90802cb201
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      weed/storage/volume_write.go

2
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)

Loading…
Cancel
Save