Commit Graph

941 Commits (88d07c43cb12299ee2f6f1279133d8057931f521)

Author SHA1 Message Date
johncming c30abf1e2b tsdb/wal: remove unused argument.
5 years ago
Ganesh Vernekar 6f1d2ec73e
Break DB.Compact and DB.compactHead and DB.compactBlocks. Add DB.CompactHead.
5 years ago
Ganesh Vernekar bc6fd96979
Refactor TestGCChunkAccess and TestGCSeriesAccess to create chunks by appending samples
5 years ago
Bartlomiej Plotka 641676b397
Merge pull request #6687 from pracucci/reduce-tsdb-head-inuse-memory
5 years ago
Ganesh Vernekar 0a27df92f0
Refactor tsdb/chunks/chunks.go for future PRs (#6754)
5 years ago
Ganesh Vernekar 56bf0ee4dc
Add OpenMmapFileWithSize method (#6753)
5 years ago
Marco Pracucci 699f3e8f4d
Added comments to the Chunk interface
5 years ago
Marco Pracucci 0703dae7cc
Compact TSDB head chunks after being cut, to reduce inuse memory
5 years ago
Ben Ye 492414542e
fix matcher for regex (#6540)
5 years ago
LongKB 1ebcf3d5e4
Fix some typo in comments (#6730)
5 years ago
Callum Styan 83601202d9
Add missing param to NewHead call in test. (#6725)
5 years ago
Thor 17d8c49919
made stripe size configurable (#6644)
5 years ago
Brian Brazil 61262159c4 Simplify benchmark given the new API
5 years ago
Brian Brazil 38d32e0686 Don't sort postings if we only have one block.
5 years ago
Brian Brazil d682731efc Extend BenchmarkQuerierSelect to use multiple blocks.
5 years ago
Ganesh Vernekar 21a5cf5d1d
Bring back tombstones to Head block (#6542)
5 years ago
Julien Pivotto 46d18112a3 tsdb: error on series with duplicate labels (#6664)
5 years ago
Ganesh Vernekar e0733a99e3
Expose DB.Compact()
5 years ago
John McBride 669592a2c4 Exports metric for WAL write errors (#6647)
5 years ago
Ganesh Vernekar bc42cf6806
Merge pull request #6559 from yeya24/tomb-test
5 years ago
Julien Pivotto 201491fd1b Remove old checkpoint dir if it still exists (#6621)
5 years ago
Julien Pivotto 0cff72d756 tsdb: writePostingsToTmpFiles returns nil instead of err (#6618)
5 years ago
Julien Pivotto 398bd84d6f small tsdb fixes (#6616)
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
Nguyen Hai Truong b7376f3bff Remove duplicated words (#6569)
5 years ago
yeya24 06fd7cf3ba add tomb interval testcase
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
Bartlomiej Plotka 3b8ef6386c
Fixed race in Chunks method. (#6515)
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
Brian Brazil 1d1732bc25 Add benchmark for Querier.Select over blocks and head.
5 years ago
Brian Brazil 0482d93fe6 Add contexts to index writer to fix test races.
5 years ago
Brian Brazil cf76daed2f Avoid WriteAt for Postings.
5 years ago
Brian Brazil 971dafdfbe Coalesce series reads where we can.
5 years ago
Brian Brazil 373a1fdfbf Reread index series rather than storing in memory.
5 years ago
Brian Brazil 48d25e6fe7 Reduce memory used by postings offset table.
5 years ago
Brian Brazil aff9f7a9e8 Extend PostingsForMatchers benchmark to cover Blocks too.
5 years ago
Brian Brazil 4df814f509
Don't buffer up tables in memory on compaction. (#6422)
5 years ago
johncming 0ae048ff78 tsdb: add error details in log. (#6415)
5 years ago
Ben Ye c0250cf120 Fix some typos(#6423)
5 years ago
Krasimir Georgiev 549164f252
return err instead of panic for corrupted chunk (#6040)
5 years ago
Callum Styan 5830e03691
Merge pull request #6337 from cstyan/rw-log-replay
5 years ago
Callum Styan 6a24eee340 Simplify duration check for watcher WAL replay.
5 years ago
Dipack P Panjabi e2dd5b61ef Added CreateBlock and CreateHead functions to new file (#6331)
5 years ago
Callum Styan 2d3ce3916c Log the start and end of the WAL replay within the WAL watcher.
5 years ago
Tim Bart 2e77f3a52b Fix typo in posting stats. (#6343)
5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
naivewong 23c0299d85 [tsdb] Improve mergeSeriesSet (#5920)
5 years ago
Dipack P Panjabi ce7bab04dd Compute WAL size and use it during retention size checks (#5886)
5 years ago
Chris Marchbanks c5b3f0221f Decode WAL in Separate Goroutine (#6230)
5 years ago
Sharad Gaur e94503ff5c Head Cardinality Status Page (#6125)
5 years ago
Goutham Veeramachaneni 53a99530d6
Edit TSDB README badges
5 years ago
yuxiaobo 7850f1b35c new world spelling mistake
5 years ago
Björn Rabenstein 3c70284802
Merge pull request #6137 from gouthamve/propose-ganesh-tsdb
5 years ago
Goutham Veeramachaneni b035c55a96
Step down and propose Ganesh as TSDB maintainer
5 years ago
Krasi Georgiev b05b5f9a30
remove debug fmt.Println in tombstones. (#6135)
5 years ago
yuxiaobo 47e51c8b2b Correct spelling mistakes
5 years ago
Krasi Georgiev 81d284f806
Merge the 2.13 release branch to master (#6117)
5 years ago
Björn Rabenstein fc945c4e8a
Merge pull request #6021 from prometheus/reload-checkpoint-async
5 years ago
Ganesh Vernekar 4dfc7a2e77
Remove unnecessary lock in loadWAL (#6107)
5 years ago
Chris Marchbanks 8df4bca470
Garbage collect asynchronously in the WAL Watcher
5 years ago
Ganesh Vernekar 53ea6d6390
Allocate the shards only once while reading WAL (#6093)
5 years ago
Ganesh Vernekar 493ef2f771
Benchmark for loading WAL (#6081)
5 years ago
陈谭军 103f26d188 fix the wrong word (#6069)
5 years ago
AllenZMC 1e62435960 fix wrong spells in live_reader.go (#5899)
5 years ago
johncming 612f9cb361 tsdb/wal: pull out wal metrics separately as tsdb.DB (#5957)
5 years ago
zhulongcheng e081406b5b tsdb: update chunks format (#6033)
5 years ago
Callum Styan 3344bb5c33 Move WAL watcher code to tsdb/wal package. (#5999)
5 years ago
Yao Zengzeng d1f21552b9 some refactor to make PostingsForMatchers more readable (#5897)
5 years ago
Lucas Servén Marín 8ab628b354 tsdb: allow readonly DB to create flush WAL (#6006)
5 years ago
zhulongcheng 937cc1a52a tsdb: add block meta version constant (#5994)
5 years ago
Erfan Besharat 9336c01dfd Add methods to fetch page's buf data in tsdb WAL (#5967)
5 years ago
陈谭军 50d453b3c3 fix-up tsdb-typo (#5954)
5 years ago
li mengyang 1c6d2194c4 fix spelling mistakes in docs (#5952)
5 years ago
johncming 7d43feb03f tsdb/wal: some small refactoring for easier reading (#5930)
5 years ago
Chris Marchbanks 5e36aa1491 Add test for MemPostings.Delete (#5910)
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus
5 years ago
Ganesh Vernekar 7cf09b0395
Moving tsdb into its own subdirectory
5 years ago