mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 06:50:40 +02:00
revert part of d8c574a5ef (#6829)
This commit is contained in:
1 parent
ee0c14673d
commit
90802cb201
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user