Commit Graph

104 Commits (main)

Author SHA1 Message Date
Charles Korn ab1b1db128
tsdb: fix issue where a new segment file is created for every chunk if `WithSegmentSize` not called (#16635) 4 weeks ago
Ayoub Mrini 2edc3ed6c5
feat(tsdb): introduce --use-uncached-io feature flag and allow using it for chunks writing (#15365) 1 month ago
carrychair e83dc66bdb refactor: use the built-in max/min to simplify the code 1 month ago
Arve Knudsen e7e3ab2824
Fix linting issues found by golangci-lint v2.0.2 (#16368) 2 months ago
Matthieu MOREL c7d4b53ec1 chore: enable unused-parameter from revive 4 months ago
Matthieu MOREL af1a19fc78 enable errorf rule from perfsprint linter 8 months ago
György Krajcsovits 44ebbb8458 Fix missing histogram copy in sampleRing 9 months ago
Nathan Baulch 50cd453c8f
chore: Fix typos (#14868) 10 months ago
Bryan Boreham cde42f30e9 TSDB: streamline reading of overlapping head chunks 10 months ago
György Krajcsovits 183bbc39a2 Make requesting merge with OOO head explicit in chunk.Meta 10 months ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments 10 months ago
shandongzhejiang b2712ff284 chore: fix some function names 10 months ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1 10 months ago
Bryan Boreham 134e8dc7af
TSDB: Simplify OOO Select by copying the head chunk (#14396) 12 months ago
Arve Knudsen b2396c0c8f Upgrade to golangci-lint v1.59.0 1 year ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041) 1 year ago
machine424 c5a1cc9148
chore(tsdb): add a sandboxDir to DBReadOnly, the directory can be used for transient file writes. 1 year ago
Arve Knudsen 1de49d5b69
Remove unused function tsdb/chunks.PopulatedChunk (#13763) 1 year ago
Bryan Boreham d08f054950
[ENHANCEMENT] TSDB: Check CRC without allocating (#13742) 1 year ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 1 year ago
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340) 1 year ago
tyltr f97fa2736c remove obsolete build tag 1 year ago
Matthieu MOREL 8f6cf3aabb tsdb: use Go standard errors 2 years ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Arve Knudsen 237bfea46b `chunks.Reader`: Fix typo in ChunkOrIterable doc string. 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) 2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 2 years ago
Abhijit Mukherjee 8f6d5dcd45
Fix: getting rid of EncOOOXOR chunk encoding (#12111) 2 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) 3 years ago
Peter Štibraný 03a2313f7a
Reduce chunk write queue memory usage (#10873) 3 years ago
Bryan Boreham 9f79a6f4b5
tsdb: faster CRC check by avoiding allocations (#10789) 3 years ago
Łukasz Mierzwa 88f9b248b4
Correctly format error message (#10669) 3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
Mauro Stettler b025390cb4
Disable chunk write queue by default, allow user to configure the exact size (#10425) 3 years ago
Ganesh Vernekar 4cc25c0cb0
Fix panic on query when m-map replay fails with snapshot enabled (#10348) 3 years ago
Ganesh Vernekar 24827782cb
Fix panics when m-mapping head chunks (#10316) 3 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 3 years ago
Mauro Stettler bf959b36cb
Nits after PR 10051 merge (#10159) 3 years ago