diff --git a/internal/util/data/value_merger.go b/internal/util/data/value_merger.go index 62c13ba3..2f1dfeaf 100644 --- a/internal/util/data/value_merger.go +++ b/internal/util/data/value_merger.go @@ -15,12 +15,12 @@ type ValueMerger struct { var _ pebble.ValueMerger = (*ValueMerger)(nil) func (va *ValueMerger) MergeNewer(value []byte) error { - va.ra = roaring.Or(va.ra, roaring.FromBuffer(value)) + va.ra.Or(roaring.FromBuffer(value)) return nil } func (va *ValueMerger) MergeOlder(value []byte) error { - va.ra = roaring.Or(va.ra, roaring.FromBuffer(value)) + va.ra.Or(roaring.FromBuffer(value)) return nil }