From 41af5a6ee52c67a80fd28a65a159048b2764e5b9 Mon Sep 17 00:00:00 2001 From: famosss Date: Fri, 9 Sep 2022 12:01:21 +0800 Subject: [PATCH] simplify a bit (#3631) --- weed/storage/volume_read.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/storage/volume_read.go b/weed/storage/volume_read.go index 20bda83bb..e9c7cf4cb 100644 --- a/weed/storage/volume_read.go +++ b/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()