Chris Lu
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|