Implement full scrubbing for regular volumes (#8254)

Implement full scrubbing for regular volumes.
This commit is contained in:
Lisandro Pin
2026-02-14 00:47:29 +01:00
committed by GitHub
parent 1ebc9dd530
commit fbe7dd32c2
9 changed files with 187 additions and 38 deletions

View File

@@ -55,7 +55,7 @@ func (n *Needle) ReadBytes(bytes []byte, offset int64, size Size, version Versio
if n.Size != size {
if OffsetSize == 4 && offset < int64(MaxPossibleVolumeSize) {
stats.VolumeServerHandlerCounter.WithLabelValues(stats.ErrorSizeMismatchOffsetSize).Inc()
glog.Errorf("entry not found1: offset %d found id %x size %d, expected size %d", offset, n.Id, n.Size, size)
glog.Errorf("entry not found: offset %d found id %x size %d, expected size %d", offset, n.Id, n.Size, size)
return ErrorSizeMismatch
}
stats.VolumeServerHandlerCounter.WithLabelValues(stats.ErrorSizeMismatch).Inc()