Skip to content

Commit

Permalink
fix existence bits in batch
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed Nov 20, 2024
1 parent 4e1ddfc commit 6b6a6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/timeseries/timeseries_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (b *batch) mergeData(ba *pebble.Batch, field models.Field, bm *ro2.Bitmap)
}

func (b *batch) mergeExists(ba *pebble.Batch, field models.Field, bm *ro2.Bitmap) error {
return b.merge(ba, field, bm, b.data)
return b.merge(ba, field, bm, b.exists)
}

func (b *batch) merge(ba *pebble.Batch, field models.Field, bm *ro2.Bitmap, enc func(field models.Field, co uint64) []byte) error {
Expand Down

0 comments on commit 6b6a6b4

Please sign in to comment.