Commit Graph

151 Commits (2cabd1b707b0569f65fbc2bafa899cabf47cfe09)

Author SHA1 Message Date
Oleg Zaytsev 50ef0dc954
Fix `MemPostings.Add` and `MemPostings.Get` data race (#15141)
1 month ago
Bryan Boreham 54de4fb780
Merge pull request #14975 from colega/process-mempostings-delete-with-gomaxprocs-workers
2 months ago
Oleg Zaytsev ada8a6ef10
Add some more tests for MemPostings_Delete
2 months ago
Oleg Zaytsev 4fd2556baa
Extract processWithBoundedParallelismAndConsistentWorkers
2 months ago
Oleg Zaytsev ccd0308abc
Don't do anything if MemPostings are empty
2 months ago
Oleg Zaytsev 9c417aa710
Fix deadlock with empty MemPostings
2 months ago
Bryan Boreham 5d8f0ef0c2
Merge pull request #14721 from bboreham/exp-grow-postings
2 months ago
Oleg Zaytsev e196b977af
Process MemPostings.Delete() with GOMAXPROCS workers
2 months ago
Bryan Boreham ca673eb749 Merge remote-tracking branch 'origin/release-2.55' into merge-2.55-into-main
2 months ago
Bryan Boreham 31c5760551
Neater string vs byte-slice conversions (#14425)
2 months ago
Ganesh Vernekar 5ccb069414 Backward compatibility with upcoming index v3
2 months ago
Bryan Boreham 33adbe47b1 [PERF] TSDB: Grow postings by doubling
3 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
3 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)
5 months ago
Ben Ye 0e6fca8e76 add unit test
5 months ago
Ben Ye e7db2e30a4 fix check context cancellation not incrementing count
5 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)
6 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
6 months ago
György Krajcsovits b215a41be4 tsdb/index/postings: fix missing lock unlock
6 months ago
George Krajcsovits fdaafdb041
tsdb: check for context cancel before regex matching postings (#14096)
6 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)
12 months 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