Browse Source

simplify a bit (#3631)

pull/3633/head
famosss 2 years ago
committed by GitHub
parent
commit
41af5a6ee5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      weed/storage/volume_read.go

1
weed/storage/volume_read.go

@ -143,6 +143,7 @@ func (v *Volume) readNeedleDataInto(n *needle.Needle, readOption *ReadOption, wr
return ErrorNotFound
}
actualOffset = nv.Offset.ToActualOffset()
readOption.VolumeRevision = v.SuperBlock.CompactionRevision
}
count, err := n.ReadNeedleData(v.DataBackend, actualOffset, buf, x)
v.dataFileAccessLock.RUnlock()

Loading…
Cancel
Save