revert part of d8c574a5ef (#6829)
This commit is contained in:
@@ -122,7 +122,7 @@ func (v *Volume) writeNeedle2(n *needle.Needle, checkCookie bool, fsync bool) (o
|
|||||||
n.Ttl = v.Ttl
|
n.Ttl = v.Ttl
|
||||||
}
|
}
|
||||||
|
|
||||||
if fsync {
|
if !fsync {
|
||||||
return v.syncWrite(n, checkCookie)
|
return v.syncWrite(n, checkCookie)
|
||||||
} else {
|
} else {
|
||||||
asyncRequest := needle.NewAsyncRequest(n, true)
|
asyncRequest := needle.NewAsyncRequest(n, true)
|
||||||
|
|||||||
Reference in New Issue
Block a user