prometheus/tsdb/chunks
Jesus Vazquez c02b13b7f4
Discard unknown chunk encodings (#196)
* Chunks replay skips chunks with unknown encodings

We've changed the logic of loadMmappedChunks to skip chunks that have
unknown encodings. To do so we've modified IterateAllChunks to accept an
extra encoding argument in the callback function.

Also added unit tests in the head and chunk disk mapper.

* Also add an unit test for the old chunk diskmapper

* s/createUnsupportedChunk/writeUnsupportedChunk/g
2022-04-12 10:35:10 +00:00
..
chunk_write_queue.go fixing merge mistakes 2022-01-12 18:49:24 +00:00
chunk_write_queue_test.go fixing merge mistakes 2022-01-12 18:49:24 +00:00
chunks.go clarify HeadChunkID type and usage (#9726) 2021-11-17 18:35:10 +05:30
chunks_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
head_chunks.go Discard unknown chunk encodings (#196) 2022-04-12 10:35:10 +00:00
head_chunks_other.go tsdb/chunks: preallocate at least some space on non-Windows systems (#9581) 2021-11-09 13:47:00 +05:30
head_chunks_test.go Discard unknown chunk encodings (#196) 2022-04-12 10:35:10 +00:00
head_chunks_windows.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
old_head_chunks.go Discard unknown chunk encodings (#196) 2022-04-12 10:35:10 +00:00
old_head_chunks_test.go Discard unknown chunk encodings (#196) 2022-04-12 10:35:10 +00:00