Commit Graph

64 Commits (37c6ef96610ea1a3308e687c48c313f23e6c350e)

Author SHA1 Message Date
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory
3 years ago
Oleg Zaytsev a83d46ee9c
Tidy postingsWithIndexHeap (#10123)
3 years ago
Oleg Zaytsev 701545286d
Pop intersected postings heap without popping (#10092)
3 years ago
Oleg Zaytsev 3947238ce0
Label values with matchers by intersecting postings (#9907)
3 years ago
Oleg Zaytsev 5e746e4e88
Check postings bytes length when decoding (#9766)
3 years ago
Peter Štibraný 422e7839d4
Add more size checks when writing individual sections in the index. (#9710)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Marco Pracucci 309b094b92
Optimized MemPostings.EnsureOrder() (#9673)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Bryan Boreham 1fb3c1b598
Replace calls to strings.Compare (#9397)
3 years ago
Bryan Boreham 87d909df4a
Remove symbols map from TSDB head (#9301)
3 years ago
Bryan Boreham 9dfdc3eb36
Speed up BenchmarkPostings_Stats (#9213)
3 years ago
Jupiter 84ab705318
32 should better be replaced by "symbolFactor" (#9203)
3 years ago
Marco Pracucci 84e786ebc1
Fixed Decoder.Series() error checking (#9201)
3 years ago
Oleg Zaytsev b1ed4a0a66
LabelNames API with matchers (#9083)
3 years ago
Jupiter 7337ecf0d3
Log when total symbol size exceeds 2^32 bytes. (#9104)
3 years ago
kjinan e1370eecde typos correct
4 years ago
Mauro Stettler 7715fe3219
Add matchers to LabelValues() call (#8400)
4 years ago
Nguyen Le Vu Long cd1dafc2fd
tsdb: Expose total number of label pairs in head in TSDB stats page (#8343)
4 years ago
Chris Marchbanks c8f810083d
Cache label name and last value when adding series (#8192)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Xiaochao Dong a282d25099
tsdb: remove duplicate values set to reduce memory usage(map overhead) (#7915)
4 years ago
Guangwen Feng 9439b2150d
Fix golint warning caused by misspell (#7842)
4 years ago
Harold Dost 21a753c4e2
Make file permissions set to allow for wider umask options. (#7782)
4 years ago
Robert-André Mauchin ed6ce7ac98
Convert int to string using rune() (#7707)
4 years ago
Julien Pivotto 62805b2fe9
tsdb: test for leaks (#7566)
4 years ago
Ganesh Vernekar 082c17b691
Introduce SortedLabelValues/LabelValues to speedup queries for high cardinality (#7448)
4 years ago
ga 05038b48bd
Goroutine: Fix ambiguous variable (#7175)
5 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Julien Pivotto 0cff72d756 tsdb: writePostingsToTmpFiles returns nil instead of err (#6618)
5 years ago
Bartlomiej Plotka 1e64d757f7
Merge pull request #6585 from prometheus/fix-symbols-lookup
5 years ago
Guangwen Feng 5e906cc09a Fix typo in comment for func AddPadding
5 years ago
Bartlomiej Plotka 59ea320d96 tsdb: Fixed Symbol Lookup edge case; Added tests.
5 years ago
Bartlomiej Plotka 863613300d Exposed FileWriter. (#6589)
5 years ago
Brian Brazil 4708915ac6 Replace StringTuples with []string
5 years ago
Brian Brazil e9ede51753 Remove last vestiges of never used composite index code.
5 years ago
Brian Brazil 000e306f2f
Handle V1 indexes, some of which have unsorted posting offset tables. (#6564)
5 years ago
Brian Brazil 536d416299
Fix tsdb code and tests to work on Windows. (#6547)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Brian Brazil 2b653ee230 Write label indices based on the posting offset table.
5 years ago
Brian Brazil 7d1aad46b8 Put postings in a temporary file during index writing.
5 years ago
Brian Brazil dee6981a6c Move writing of index label indices into IndexWriter.
5 years ago
Brian Brazil 1733724e30 Factor out index file writing code.
5 years ago
Brian Brazil 85964ce567 During compaction spool postings offset table on the side.
5 years ago
Brian Brazil d782387f81
Stream symbols during compaction. (#6468)
5 years ago
Brian Brazil 767fa704b6 Load only some offsets into the symbol table into memory.
5 years ago