Commit Graph

24 Commits (2d9f3e34ddce2d3323b1e7ea69d1cbe9d2e140dc)

Author SHA1 Message Date
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 5 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
Harold Dost 21a753c4e2
Make file permissions set to allow for wider umask options. (#7782) 5 years ago
Robert-André Mauchin ed6ce7ac98
Convert int to string using rune() (#7707) 5 years ago
Julien Pivotto 62805b2fe9
tsdb: test for leaks (#7566) 5 years ago
Ganesh Vernekar 082c17b691
Introduce SortedLabelValues/LabelValues to speedup queries for high cardinality (#7448) 6 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109) 6 years ago
Bartlomiej Plotka 59ea320d96 tsdb: Fixed Symbol Lookup edge case; Added tests. 6 years ago
Brian Brazil 4708915ac6 Replace StringTuples with []string 6 years ago
Brian Brazil e9ede51753 Remove last vestiges of never used composite index code. 6 years ago
Brian Brazil ada0945b8f Fix tsdb code and tests to work on Windows. (#6547) 6 years ago
Brian Brazil 536d416299
Fix tsdb code and tests to work on Windows. (#6547) 6 years ago
Josh Soref 91d76c8023 Spelling (#6517) 6 years ago
Brian Brazil dee6981a6c Move writing of index label indices into IndexWriter. 6 years ago
Brian Brazil d782387f81
Stream symbols during compaction. (#6468) 6 years ago
Brian Brazil 767fa704b6 Load only some offsets into the symbol table into memory. 6 years ago
Brian Brazil 0482d93fe6 Add contexts to index writer to fix test races. 6 years ago
Brian Brazil 971dafdfbe Coalesce series reads where we can. 6 years ago
Brian Brazil 373a1fdfbf Reread index series rather than storing in memory. 6 years ago
Brian Brazil 48d25e6fe7 Reduce memory used by postings offset table. 6 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326) 6 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge. 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
Krasi Georgiev 288f67efbf
fix some unchecked errors and remove unused vars. (#592) 7 years ago
Pavel Borzenkov 520b1d858f index: add a test to trigger fd leak on corrupted index (#576) 7 years ago
Bartek Płotka 3ab5f4e579 index: reduce empty postings trees (#509) 7 years ago
zhulongcheng 921da4dced Remove unused statement from index test (#558) 7 years ago
Krasi Georgiev c3ffdf1a99
Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 7 years ago
Alec e7436e13f0 Merge encoding_helpers.go to tsdbutil (#526) 7 years ago
Krasi Georgiev 53c18e7a41 use a global indexFilename constant 7 years ago
Bartek Płotka c065fa6957 Exposed helper methods for reading index bytes. (#492) 7 years ago
Krasi Georgiev 48c439d26d
fix statick check errors (#475) 7 years ago
Brian Brazil 407e12d051 Make MemPostings nested. 7 years ago
Ganesh Vernekar 3a08a71d86 LabelNames() method to get all unique label names (#369) 7 years ago
Ben a8351dc9d0 Using filepath.Join() instead of strings with slashes (#428) 7 years ago
Simon Pasquier f55ccd4ecb Add unit tests 8 years ago
Alexey Palazhchenko 64cce683cc gofmt -s. 8 years ago
Fabian Reinartz d09283f60a Add repair of bad index version 8 years ago
Shubheksha Jalan 7b27dc2109 address review comments, fix index tests 8 years ago
Fabian Reinartz da9614fa54 Allow tombstone file to not exist 8 years ago
Fabian Reinartz 54205903f7 Move index and chunk encoders to own packages 8 years ago
Fabian Reinartz adb6be73dd move label read function int labels pkg 8 years ago
Fabian Reinartz 67f0ca8f0e Move index and chunk encoders to own packages 8 years ago
Callum Styan 8326e410d0 decouple tsdb main.go (and tests) from prometheus/pkg 8 years ago
Callum Styan ca4e817372 move test utils to it's own package so we can use it in tests for other packages in tsdb repo 8 years ago
Callum Styan 945b6b01aa use test utils in index_test 8 years ago
Fabian Reinartz b7c3cfecbf index: abstract ByteSlice and adjust indexReader 8 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking 8 years ago