Commit Graph

49 Commits (6c08f8f5597c781215e1c561c941a32b5100e7d0)

Author SHA1 Message Date
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments
3 months ago
Björn Rabenstein 3119b8a055
Merge pull request #13218 from machine424/ro-promtool
6 months ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041)
7 months ago
machine424 c5a1cc9148
chore(tsdb): add a sandboxDir to DBReadOnly, the directory can be used for transient file writes.
7 months ago
Bryan Boreham d08f054950
[ENHANCEMENT] TSDB: Check CRC without allocating (#13742)
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Matthieu MOREL 8f6cf3aabb tsdb: use Go standard errors
12 months ago
Matthieu MOREL ece8286305 tsdb/chunk: use Go standard errors package
1 year ago
Marco Pracucci 031d22df9e
Fix race condition in ChunkDiskMapper.Truncate() (#12500)
1 year ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
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)
2 years ago
Ganesh Vernekar 83d738e263
Fix 'invalid magic number 0' bug (#11338)
2 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075)
2 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 24827782cb
Fix panics when m-mapping head chunks (#10316)
3 years ago
Mauro Stettler bf959b36cb
Nits after PR 10051 merge (#10159)
3 years ago
Ganesh Vernekar 129ed4ec8b
Fix Example() function in TSDB (#10153)
3 years ago
Mauro Stettler 0df3489275
Write chunks via queue, predicting the refs (#10051)
3 years ago
Dieter Plaetinck 0fac9bb859
Add basic initial developer docs for TSDB (#9451)
3 years ago
Mauro Stettler 8a4f659126 fix error message
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Dieter Plaetinck d5afe0a577
TSDB: Use a dedicated head chunk reference type (#9501)
3 years ago
jinglina 1a430e5f89
remove redundant parentheses (#9134)
3 years ago
Marco Pracucci 4b49ffbad5
Stop the bleed on chunk mapper panic (#8723)
4 years ago
Bartlomiej Plotka 8bf7bc68f1
Fixed TestChunkDiskMapper_WriteChunk_Chunk_IterateChunks for go1.16 (#8538)
4 years ago
Guangwen Feng e2cd6c5f57 Fix golint issue caused by typo
4 years ago
Marco Pracucci db19e05d93
Add option to customise head chunks write buffer size (#8201)
4 years ago
Julien Pivotto 8bc369bf9b
Calculate head chunk size based on actual disk usage (#8139)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Ganesh Vernekar 2624d827fa
Read repair empty last file in chunks_head (#8061)
4 years ago
Ganesh Vernekar c806262206
Fix 'chunks.HeadReadWriter: maxt of the files are not set' error (#7856)
4 years ago
Yukun Sun cfd4e05c9e
fix: return a corruption error when iterator function find a chunk that is out of sequence (#7855)
4 years ago
Max Neverov bb5c6b38e2
Fix Possible Race Condition in TSDB (#7815)
4 years ago
Javier Palomo Almena 348ff4285f
tsdb: Replace sync/atomic with uber-go/atomic in tsdb (#7659)
4 years ago
johncming 9801f52b0a
tsdb/chunks: fix bug of data race(#7643). (#7646)
4 years ago
Ganesh Vernekar b7c46a8c79
Merge remote-tracking branch 'upstream/master' into merge-release-2.19
5 years ago
Ganesh Vernekar 48fae12b89
Fix unsequential m-map files (#7414)
5 years ago
Simon Pasquier 2f12049371
tsdb: improve logs when encountering corruption (#7308)
5 years ago
Ganesh Vernekar 1627d234da
Moves the atomically accessed member to the top of the struct (#7365)
5 years ago
Ganesh Vernekar a1355eb7c7
Remove time based m-map file creation (#7314)
5 years ago
Ganesh Vernekar 83619aa9ac
Preallocate m-map file only for Windows (#7306)
5 years ago
Krasimir Georgiev 09df8d94e0
More explicit chunks and head error handling. (#7277)
5 years ago
Ganesh Vernekar d4b9fe801f
M-map full chunks of Head from disk (#6679)
5 years ago
Ganesh Vernekar e50fdbc70c
Live m-mapping of chunks on disk (#6830)
5 years ago