Commit Graph

140 Commits (f7b396a1dc6c417ee5dae6457d58b114ecb65a64)

Author SHA1 Message Date
Ganesh Vernekar 5ccb069414 Backward compatibility with upcoming index v3
2 months ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments
3 months ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1
4 months ago
Oleg Zaytsev 726ed124e4
Replace `ListPostings.Seek`'s binary search call by the generic `slices.BinarySearch` (#14393)
5 months ago
Oleg Zaytsev fd1a89b7c8
Pass affected labels to `MemPostings.Delete()` (#14307)
6 months ago
Ben Ye 0e6fca8e76 add unit test
6 months ago
Ben Ye e7db2e30a4 fix check context cancellation not incrementing count
6 months ago
Oleg Zaytsev 64a9abb8be
Change LabelValuesFor() to accept index.Postings (#14280)
6 months ago
Oleg Zaytsev 10a3c7220b
`MemPostings.PostingsForLabelMatching()`: don't hold the mutex while matching (#14286)
6 months ago
Oleg Zaytsev 2dc177d8af
`MemPostings.Delete()`: reduce locking/unlocking (#13286)
6 months ago
Arve Knudsen b8b9015e38 tsdb/index: Fix TestReader_PostingsForLabelMatchingHonorsContextCancel
6 months ago
Oleg Zaytsev fe9cb5a803
Check context every 128 labels instead of 100 (#14118)
6 months ago
Arve Knudsen 5ca56eeb6b
tsdb/index: Refactor Reader tests (#14071)
7 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 months ago
György Krajcsovits b215a41be4 tsdb/index/postings: fix missing lock unlock
7 months ago
George Krajcsovits fdaafdb041
tsdb: check for context cancel before regex matching postings (#14096)
7 months ago
Arve Knudsen 5c4310aa37
[ENHANCEMENT] TSDB: Optimize querying with regexp matchers
7 months ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041)
7 months ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905)
8 months ago
carrychair 856f6e49c8 fix function and struct name
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
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required
9 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Peter Štibraný e2b9cfeeeb
Enforce chunks ordering when writing index. (#8085)
10 months ago
Bryan Boreham 98c4889029
Merge pull request #9298 from Creatone/creatone/use-testify
10 months ago
Mikhail Fesenko 419dd265cc
Fix strange code, add messages to code brought in #8106 (#13509)
10 months ago
Mikhail Fesenko 5f2c3a5d3e
Small improvements, add const, remove copypasta (#8106)
10 months ago
Paweł Szulik 5961f78186 Refactor tsdb tests to use testify.
10 months ago
Marco Pracucci 501bc6419e
Add ShardedPostings() support to TSDB (#10421)
10 months ago
Giedrius Statkevičius 61b4080a14
tsdb/{index,compact}: allow using custom postings encoding format (#13242)
11 months ago
Bryan Boreham d0c2d9c0b9
Merge pull request #12878 from bboreham/loser-tree
12 months ago
Matthieu MOREL 8f6cf3aabb tsdb: use Go standard errors
12 months ago
Bryan Boreham ab3a47b489 postings: use Loser Tree for merge
12 months ago
Bryan Boreham ee700151a3 tsdb/index: add benchmark for Postings.Merge
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
1 year ago
Julien Pivotto 90ed7b08dc
Merge pull request #13124 from mmorel-35/patch-5
1 year ago
Matthieu MOREL 2972cc5e8f tsdb/index: use Go standard errors package
1 year ago
songjiayang 443867f1aa symbolCacheEntry field type alignment, thus saving 8 bytes.
1 year ago
Arve Knudsen ae9221e152
tsdb/index.Symbols: Drop context argument from Lookup method (#13058)
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
George Krajcsovits 7d7b9eacff
Fix int32 overflow issues (#12978)
1 year ago
Oleg Zaytsev fe90dcccff
Revert ListPostings change (#12955)
1 year ago
Oleg Zaytsev 5bd8c8c561
Clarify Postings.At() contract (#12921)
1 year ago
Oleg Zaytsev 1492031ef2
Optimize ListPostings Next() (#12906)
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Arve Knudsen 156222cc50
Add context argument to LabelQuerier.LabelValues (#12665)
1 year ago
Arve Knudsen a964349e97
Add context argument to LabelQuerier.LabelNames (#12666)
1 year ago
Arve Knudsen 4451ba10b4
Add context argument to IndexReader.Postings (#12667)
1 year ago
Julien Pivotto 1f5934e7be
Merge pull request #10623 from songjiayang/update-index
1 year ago
Julien Pivotto 0f85e4f41d
Merge pull request #12539 from bboreham/slices-sorts
1 year ago