aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/storage/volume_read.go1
1 files changed, 1 insertions, 0 deletions
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()