mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-06-07 17:43:40 +08:00
revert part of d8c574a5ef
(#6829)
This commit is contained in:
parent
ee0c14673d
commit
90802cb201
@ -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…
Reference in New Issue
Block a user