Commit Graph

171 Commits (8be416a67cea1663b90e360463fb2091cb0ffe9a)

Author SHA1 Message Date
Ben Ye 919a5b657e
Expose ListPostings Length via Len() method (#15678) 1 year ago
Bryan Boreham cfa32f3d28 TSDB: Move merge of head postings into index 1 year ago
Bryan Boreham 0a8779f46d TSDB: Make mergedPostings generic 1 year ago
Bryan Boreham 1b22242024 TSDB BenchmarkMerge: run fewer sizes 1 year ago
Bryan Boreham e630ffdbed TSDB: extend BenchmarkMemPostings_PostingsForLabelMatching to check merge speed 1 year ago
Oleg Zaytsev 17d5bc4e54
Update comment on MemPostings.lvs 1 year ago
Bryan Boreham ac4f8a5e23
[ENHANCEMENT] TSDB: Improve calculation of space used by labels (#13880) 1 year ago
Oleg Zaytsev cd1f8ac129
MemPostings: keep a map of label values slices (#15426) 1 year ago
Bryan Boreham ca3119bd24 TSDB: eliminate one yolostring 1 year ago
Bryan Boreham e98c19c1ce [PERF] TSDB: Cache all symbols for compaction 1 year ago
Oleg Zaytsev 9aa6e041d3
MemPostings: allocate ListPostings once in PFALV (#15465) 1 year ago
Oleg Zaytsev cc390aab64
MemPostings: allocate ListPostings once in PFLM (#15427) 1 year ago
Arve Knudsen 89bbb885e5
Upgrade to golangci-lint v1.62.0 (#15424) 1 year ago
Arve Knudsen 06d54fcc6c
[PERF] TSDB: Optimize inverse matching (#14144) 1 year ago
Ben Ye 140f4aa9ae
feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
Oleg Zaytsev b1e4052682
MemPostings.Delete(): make pauses to unlock and let the readers read (#15242) 1 year ago
Bryan Boreham 2fbbfc3da8 Revert "Fix `MemPostings.Add` and `MemPostings.Get` data race (#15141)" 1 year ago
Oleg Zaytsev ba11a55df4
Revert "Process `MemPostings.Delete()` with `GOMAXPROCS` workers" 1 year ago
Ben Ye 99882eec3b log last series labelset when hitting OOO series labels during compaction 1 year ago
Oleg Zaytsev 50ef0dc954
Fix `MemPostings.Add` and `MemPostings.Get` data race (#15141) 1 year ago
Oleg Zaytsev ada8a6ef10
Add some more tests for MemPostings_Delete 1 year ago
Oleg Zaytsev 4fd2556baa
Extract processWithBoundedParallelismAndConsistentWorkers 1 year ago
Oleg Zaytsev ccd0308abc
Don't do anything if MemPostings are empty 1 year ago
Oleg Zaytsev 9c417aa710
Fix deadlock with empty MemPostings 1 year ago
Oleg Zaytsev e196b977af
Process MemPostings.Delete() with GOMAXPROCS workers 1 year ago
Bryan Boreham 31c5760551
Neater string vs byte-slice conversions (#14425) 1 year ago
Ganesh Vernekar 5ccb069414 Backward compatibility with upcoming index v3 1 year ago
Bryan Boreham 33adbe47b1 [PERF] TSDB: Grow postings by doubling 1 year ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments 1 year ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1 1 year ago
Oleg Zaytsev 726ed124e4
Replace `ListPostings.Seek`'s binary search call by the generic `slices.BinarySearch` (#14393) 2 years ago
Oleg Zaytsev fd1a89b7c8
Pass affected labels to `MemPostings.Delete()` (#14307) 2 years ago
Ben Ye 0e6fca8e76 add unit test 2 years ago
Ben Ye e7db2e30a4 fix check context cancellation not incrementing count 2 years ago
Oleg Zaytsev 64a9abb8be
Change LabelValuesFor() to accept index.Postings (#14280) 2 years ago
Oleg Zaytsev 10a3c7220b
`MemPostings.PostingsForLabelMatching()`: don't hold the mutex while matching (#14286) 2 years ago
Oleg Zaytsev 2dc177d8af
`MemPostings.Delete()`: reduce locking/unlocking (#13286) 2 years ago
Arve Knudsen b8b9015e38 tsdb/index: Fix TestReader_PostingsForLabelMatchingHonorsContextCancel 2 years ago
Oleg Zaytsev fe9cb5a803
Check context every 128 labels instead of 100 (#14118) 2 years ago
Arve Knudsen 5ca56eeb6b
tsdb/index: Refactor Reader tests (#14071) 2 years ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code 2 years ago
György Krajcsovits b215a41be4 tsdb/index/postings: fix missing lock unlock 2 years ago
George Krajcsovits fdaafdb041
tsdb: check for context cancel before regex matching postings (#14096) 2 years ago
Arve Knudsen 5c4310aa37
[ENHANCEMENT] TSDB: Optimize querying with regexp matchers 2 years ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041) 2 years ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905) 2 years ago
carrychair 856f6e49c8 fix function and struct name 2 years ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 2 years ago
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required 2 years ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places 2 years ago