prometheus/storage
George Krajcsovits 223f016c44
feat(tsdb): allow using ST capable XOR chunks - retain format on read (#18013)
* feat(tsdb): allow appending to ST capable XOR chunk optionally

Only for float samples as of now.  Supports for in-order and out-of-order
samples.

Make sure that on readout the ST capable chunks are returned automatically.
When the chunks are returned as is, this is trivially true.
When a chunk needs to be re-coded due to deletion (tombstone) markers,
we take the encoding of the original chunk.
When a chunk needs to be created from overlapping chunks, we observe
whether ST is zero or not and create the new chunk based on that.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2026-02-20 09:15:51 +01:00
..
remote tsdb: ST-in-WAL: Counter implementation and benchmarks (#17671) 2026-02-12 13:17:50 -05:00
buffer.go storage/buffer.go: add ST to sample types and iterators 2026-01-14 13:15:10 +01:00
buffer_test.go add test coverage for buffer.go 2026-01-14 13:15:17 +01:00
errors.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
errors_test.go storage: fix ToError() to return nil for empty partial errors (#18002) 2026-02-03 16:58:02 +01:00
fanout.go storage: optimized fanoutAppenderV2 (#17976) 2026-02-02 07:04:30 +00:00
fanout_test.go storage: optimized fanoutAppenderV2 (#17976) 2026-02-02 07:04:30 +00:00
generic.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
interface.go Merge pull request #17835 from prometheus/bwplotka/a2-storage-support 2026-01-16 13:04:14 +00:00
interface_append.go tests: Unify TestDiskFillingUpAfterDisablingOOO and avoid hiding errors (#18017) 2026-02-05 16:11:35 +00:00
interface_test.go feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +01:00
lazy.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
memoized_iterator.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
memoized_iterator_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
merge.go feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +01:00
merge_test.go test that ChainSampleIterator passes on the AtST call 2026-01-14 13:15:18 +01:00
noop.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
secondary.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
series.go feat(tsdb): allow using ST capable XOR chunks - retain format on read (#18013) 2026-02-20 09:15:51 +01:00
series_test.go test ListSeriesIterator with ST 2026-01-14 13:15:19 +01:00