Commit Graph

76 Commits (9c4782f1cc34f85f07daaaed14af2e7ad1ff56a0)

Author SHA1 Message Date
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Fiona Liao 5bee0cfce2
Change `ChunkReader.Chunk()` to `ChunkOrIterable()` 2 years ago
Matthieu MOREL ece8286305 tsdb/chunk: use Go standard errors package 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
George Krajcsovits 3512b2d678
storage: make histogram reset handling consistent in chainSampleIterator (#12779) 2 years ago
Justin Lei 8ef7dfdeeb
Add a chunk size limit in bytes (#12054) 2 years ago
Łukasz Mierzwa 3c80963e81
Use a linked list for memSeries.headChunk (#11818) 2 years ago
Marco Pracucci 031d22df9e
Fix race condition in ChunkDiskMapper.Truncate() (#12500) 3 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 3 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
Abhijit Mukherjee 8f6d5dcd45
Fix: getting rid of EncOOOXOR chunk encoding (#12111) 3 years ago
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318) 3 years ago
Ganesh Vernekar 83d738e263
Fix 'invalid magic number 0' bug (#11338) 3 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075) 3 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279) 3 years ago
Peter Štibraný ffc60d8397
Reduce chunk write queue memory usage 2 (#10874) 4 years ago
Peter Štibraný 03a2313f7a
Reduce chunk write queue memory usage (#10873) 4 years ago
Bryan Boreham 9f79a6f4b5
tsdb: faster CRC check by avoiding allocations (#10789) 4 years ago
Łukasz Mierzwa 88f9b248b4
Correctly format error message (#10669) 4 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 4 years ago
Mauro Stettler b025390cb4
Disable chunk write queue by default, allow user to configure the exact size (#10425) 4 years ago
Ganesh Vernekar 4cc25c0cb0
Fix panic on query when m-map replay fails with snapshot enabled (#10348) 4 years ago
Ganesh Vernekar 24827782cb
Fix panics when m-mapping head chunks (#10316) 4 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 4 years ago
Mauro Stettler bf959b36cb
Nits after PR 10051 merge (#10159) 4 years ago
Ganesh Vernekar 129ed4ec8b
Fix Example() function in TSDB (#10153) 4 years ago
Mauro Stettler 0df3489275
Write chunks via queue, predicting the refs (#10051) 4 years ago
Dieter Plaetinck 067efc3725
clarify HeadChunkID type and usage (#9726) 4 years ago
Dieter Plaetinck 0fac9bb859
Add basic initial developer docs for TSDB (#9451) 4 years ago
Mauro Stettler 8a4f659126 fix error message 4 years ago
Mateusz Gozdek b319b14431
tsdb/chunks: preallocate at least some space on non-Windows systems (#9581) 4 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536) 4 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
Dieter Plaetinck d5afe0a577
TSDB: Use a dedicated head chunk reference type (#9501) 4 years ago
SuperQ e167a45c65
Add new Go build tags. 4 years ago
jinglina 1a430e5f89
remove redundant parentheses (#9134) 4 years ago
Marco Pracucci 4b49ffbad5
Stop the bleed on chunk mapper panic (#8723) 5 years ago
Bartlomiej Plotka 8bf7bc68f1
Fixed TestChunkDiskMapper_WriteChunk_Chunk_IterateChunks for go1.16 (#8538) 5 years ago
Guangwen Feng e2cd6c5f57 Fix golint issue caused by typo 5 years ago
Marco Pracucci db19e05d93
Add option to customise head chunks write buffer size (#8201) 5 years ago
Ganesh Vernekar 601a3ef0bb
Read repair empty last file in chunks_head (#8061) 5 years ago
Julien Pivotto df6eed2358 Calculate head chunk size based on actual disk usage (#8139) 5 years ago
Julien Pivotto 8bc369bf9b
Calculate head chunk size based on actual disk usage (#8139) 5 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 5 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066) 5 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
Ganesh Vernekar ce4b3ac282
Simplify TestHeadReadWriter_Truncate (#7437) 5 years ago
Ganesh Vernekar 2624d827fa
Read repair empty last file in chunks_head (#8061) 5 years ago