Commit Graph

225 Commits (c0e888e82b6bab94b15094de0aa40f14257ebc07)

Author SHA1 Message Date
Mario Trangoni 09142e4dd1 fix unconvert issues: unnecessary conversion 8 years ago
Matt Bostock aa517c39bb
Fix typo in db.go 8 years ago
Fabian Reinartz 8cd32d8fd4 Improve usability of snapshots 8 years ago
Fabian Reinartz a345231a0e Add test for block meta version and comments 8 years ago
Fabian Reinartz 04d5ac5aae Add repair test 8 years ago
Fabian Reinartz d09283f60a Add repair of bad index version 8 years ago
Goutham Veeramachaneni b7bea04e62
Fix extra reloads. 8 years ago
Simon Pasquier e9fc37be61 Count the total and failed block cutoffs 8 years ago
Fabian Reinartz 7087f68647 Return new block ULID in compactor 8 years ago
Fabian Reinartz 67f0ca8f0e Move index and chunk encoders to own packages 8 years ago
Goutham Veeramachaneni e7445d00b0
Add a function to cleanup tombstones. 8 years ago
Goutham Veeramachaneni 41fd9c66ef
Close the retention blocks before deleting them. 8 years ago
Goutham Veeramachaneni 1627a47640
A copy is being assigned newChunk not the original 8 years ago
Fabian Reinartz a031cf7424 Return ULID in Compactor 8 years ago
zhangjun3 65e6b79a7c fix typing 8 years ago
Julius Volz 1dad3370fd Close WAL when closing the DB 8 years ago
Tobias Schmidt 5170198276 Fix typo in prometheus_tsdb_reloads_failures_total description 8 years ago
Fabian Reinartz d226411a2a db: delete old blocks during reload 8 years ago
Your Name 4a4a706234 close blocks which will be remove 8 years ago
Fabian Reinartz f8e88bfdb7 Close previous block queriers on error 8 years ago
Fabian Reinartz d17104f1f0 Prefix all metrics with `prometheus_*` 8 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking 8 years ago
Bas Harenslak 5e1c258a98 Instrument WAL fsync 8 years ago
Fabian Reinartz bbe72dccb9 Remove dependency on etcd/pkg/fileutil 8 years ago
Dimitrij Denissenko 83c984d9a3 Use configurable WAL flush inteval 8 years ago
Bas Harenslak a41dad30fb Move printing db.blocks to main.go 8 years ago
Bas Harenslak 9945a67bff Replace columnize by stdlib tabwriter 8 years ago
Bas Harenslak e190c7c78d Add list blocks command to CLI 8 years ago
Goutham Veeramachaneni c35d3a65bd
Add levels to all log lines. 8 years ago
Thibault Chataigner 0ff8f91ec8 Add db.Head() method 8 years ago
Thibault Chataigner 5ca18837e9 Make DB blocks list public. 8 years ago
Goutham Veeramachaneni 8919baef03
Expose NewIndexReader() and cleanups 8 years ago
Fabian Reinartz f904cd385f Do not build a superflous 'all' postings 8 years ago
Fabian Reinartz 81222849bc Filter WAL data in Head, misc fixes 8 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks 8 years ago
Fabian Reinartz af2c2f9674 Re-enable head block delet test 8 years ago
Goutham Veeramachaneni 1698c516ad [WIP]: WAL implementation 8 years ago
Fabian Reinartz 893b6ec506 Add tests for GC and chunk truncation 8 years ago
Fabian Reinartz 4cc37eecab Refactor and add tests for compactor 8 years ago
Fabian Reinartz 5cf2662074 Refactor WAL into Head and misc improvements 8 years ago
Fabian Reinartz 8209e3ec23 Add various metrics 8 years ago
Fabian Reinartz 3901b6e70b Remove multiple heads 8 years ago
Andreas Kohn 4003da0fdd
Log the directory when the WAL cannot be opened 9 years ago
Fabian Reinartz 905af27cf9 Refactor compactor 9 years ago
Fabian Reinartz 66ff7b12e9 Pool Chunk objects during compaction 9 years ago
Fabian Reinartz fa04455cd7 Properly detect compactable heads 9 years ago
tianwenjie01 b64054365d Fix DefaultOptions 9 years ago
Fabian Reinartz 74f67e8271 Fix compacting disable/enable 9 years ago
Fabian Reinartz 3065be97d8 Fix and document locking order for DB 9 years ago
Fabian Reinartz 9c4235532e Fix compaction selection after creating new heads 9 years ago