mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix size variable
This commit is contained in:
parent
184fbb6c50
commit
f2d9049e6a
|
@ -215,8 +215,8 @@ func (v *Volume) doDeleteRequest(n *needle.Needle) (Size, error) {
|
|||
if ok && nv.Size.IsValid() {
|
||||
var offset uint64
|
||||
var err error
|
||||
size := nv.Size
|
||||
if !v.hasRemoteFile {
|
||||
size := nv.Size
|
||||
n.Data = nil
|
||||
n.AppendAtNs = uint64(time.Now().UnixNano())
|
||||
offset, _, _, err = n.Append(v.DataBackend, v.Version())
|
||||
|
|
Loading…
Reference in a new issue