Commit Graph

28 Commits (9c4782f1cc34f85f07daaaed14af2e7ad1ff56a0)

Author SHA1 Message Date
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
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
Bryan Boreham 9f79a6f4b5
tsdb: faster CRC check by avoiding allocations (#10789) 4 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 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
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
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
johncming 252265fa81
tsdb/chunks: remove un-used code. (#6944) 5 years ago
Bartlomiej Plotka e6d7cc5fa4
tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069) 5 years ago
Ganesh Vernekar 30b2592fb5
Avoid empty mmap files by using .tmp files to write headers 5 years ago
Ganesh Vernekar b8a7e80f9b
Fix review comments 6 years ago
Ganesh Vernekar 7a763ff61e
Avoid empty mmap files by using .tmp files to write headers 6 years ago
Brad Walker 3348930df5
Replace fileutil.ReadDir with ioutil.ReadDir (#7029) (#7033) 6 years ago
Bartlomiej Plotka d5c33877f9
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005) 6 years ago
Ganesh Vernekar e50fdbc70c
Live m-mapping of chunks on disk (#6830) 6 years ago
Ganesh Vernekar 0a27df92f0
Refactor tsdb/chunks/chunks.go for future PRs (#6754) 6 years ago
Bartlomiej Plotka c2e083c30f Fixed race in Chunks method. (#6515) 6 years ago
Bartlomiej Plotka 3b8ef6386c
Fixed race in Chunks method. (#6515) 6 years ago
Krasimir Georgiev 549164f252
return err instead of panic for corrupted chunk (#6040) 6 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus 6 years ago
Ganesh Vernekar 7cf09b0395
Moving tsdb into its own subdirectory 6 years ago
Yao Zengzeng 56578602ab remove redundant condition judgement whether cut new chunk (#669) 6 years ago
Yao Zengzeng bff3ef3db4 minor enhancement: return multi error when closeAll() (#663) 7 years ago
Ganesh Vernekar 3bc1ea3d75
Reuse byte buffer in WriteChunks and writeHash (#653) 7 years ago
johncming 84d71073f1 chunks: correct the interface name 7 years ago
Ganesh Vernekar b1cd829030
Reuse Chunk Iterator (#642) 7 years ago
Krasi Georgiev 31f7990d1d
Re-encode chunks that are still being appended to when snapshoti… (#641) 7 years ago
Krasi Georgiev 8eeb70fee1
remove Fsync workaround for macos. (#574) 7 years ago
Pavel Borzenkov 4f204dcbc1 chunks: close all opened MmapFiles on NewDirReader error path (#575) 7 years ago
zhulongcheng e11e01f68d Fix exported function comments (#566) 7 years ago
zhulongcheng 4d03c70800 Verify chunk format version (#544) 7 years ago
zhulongcheng b7cac504c9 Remove unused NewReader function (#547) 7 years ago
Alec 0861a9b14f [bugfix] update 'last' variable in chunks.MergeOverlappingChunks() (#539) 7 years ago
Ganesh Vernekar c59ed492b2 Vertical query merging and compaction (#370) 7 years ago
Krasi Georgiev bf2239079d refactor multi errors 7 years ago
Krasi Georgiev ee99718ff6
rename chunk reader vars to make it easier to follow. (#508) 7 years ago
Alec 051a7ae1a7 Missing the length of the encoding byte when calling b.Range 7 years ago
mknapphrt ebf5d74325 Added storage size based retention method and new metrics (#343) 7 years ago
naivewong bff5aa4d21 Missing the len of crc32 when calculating maxLen in WriteChunks (#494) 7 years ago
Simon Pasquier d5d7a097e1 Update Makefile.common 7 years ago
Benoît Knecht 1e1b2e163d Make interval overlap comparisons more explicit 8 years ago