display actual offset value

This commit is contained in:
chrislu 2024-11-21 00:38:03 -08:00
parent c9f3448692
commit 1c143cfcea

View File

@ -227,7 +227,7 @@ func (v *Volume) BinarySearchByAppendAtNs(sinceNs uint64) (offset Offset, isLast
mNs, nsReadErr := v.readAppendAtNs(offset) mNs, nsReadErr := v.readAppendAtNs(offset)
if nsReadErr != nil { if nsReadErr != nil {
err = fmt.Errorf("read entry %d offset %d: %v", m, offset, nsReadErr) err = fmt.Errorf("read entry %d offset %d: %v", m, offset.ToActualOffset(), nsReadErr)
return return
} }