Commit Graph

216 Commits (87a9415bf173d29cb91a8900f047a266ead368b1)

Author SHA1 Message Date
Fabian Reinartz 7087f68647 Return new block ULID in compactor
7 years ago
Fabian Reinartz 67f0ca8f0e Move index and chunk encoders to own packages
7 years ago
Goutham Veeramachaneni 30bbbe34f8
Merge pull request #210 from Gouthamve/tomb-clean
7 years ago
Goutham Veeramachaneni f35e9c7fec
Merge branch 'master' into fix-dels
7 years ago
Goutham Veeramachaneni 8a5ea9db74
Merge branch 'master' into tomb-clean
7 years ago
Goutham Veeramachaneni e7445d00b0
Add a function to cleanup tombstones.
7 years ago
Fabian Reinartz ad3c4849a9
Merge pull request #212 from prometheus/fabxc
7 years ago
Goutham Veeramachaneni 41fd9c66ef
Close the retention blocks before deleting them.
7 years ago
Goutham Veeramachaneni 1627a47640
A copy is being assigned newChunk not the original
7 years ago
Fabian Reinartz a031cf7424 Return ULID in Compactor
7 years ago
zhangjun3 65e6b79a7c fix typing
7 years ago
Julius Volz 1dad3370fd Close WAL when closing the DB
7 years ago
Tobias Schmidt 5170198276 Fix typo in prometheus_tsdb_reloads_failures_total description
7 years ago
Fabian Reinartz d226411a2a db: delete old blocks during reload
7 years ago
Your Name 4a4a706234 close blocks which will be remove
7 years ago
Fabian Reinartz d109149d17 Merge pull request #186 from prometheus/closeallblocks
7 years ago
Fabian Reinartz f8e88bfdb7 Close previous block queriers on error
7 years ago
Fabian Reinartz d17104f1f0 Prefix all metrics with `prometheus_*`
7 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking
7 years ago
Fabian Reinartz 27f1b8aac3 Merge pull request #162 from BasPH/fsync-duration
7 years ago
Bas Harenslak 5e1c258a98 Instrument WAL fsync
7 years ago
Goutham Veeramachaneni da565f975e Merge pull request #161 from prometheus/fileutil
7 years ago
Fabian Reinartz bbe72dccb9 Remove dependency on etcd/pkg/fileutil
7 years ago
Dimitrij Denissenko 83c984d9a3 Use configurable WAL flush inteval
7 years ago
Fabian Reinartz e19b648377 Merge pull request #155 from Gouthamve/level-log
7 years ago
Goutham Veeramachaneni c35d3a65bd
Add levels to all log lines.
7 years ago
Thibault Chataigner 0ff8f91ec8 Add db.Head() method
7 years ago
Thibault Chataigner 5ca18837e9 Make DB blocks list public.
7 years ago
Goutham Veeramachaneni 8919baef03
Expose NewIndexReader() and cleanups
7 years ago
Fabian Reinartz f904cd385f Do not build a superflous 'all' postings
7 years ago
Fabian Reinartz 81222849bc Filter WAL data in Head, misc fixes
7 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks
7 years ago
Fabian Reinartz af2c2f9674 Re-enable head block delet test
7 years ago
Goutham Veeramachaneni 1698c516ad [WIP]: WAL implementation
7 years ago
Fabian Reinartz 893b6ec506 Add tests for GC and chunk truncation
7 years ago
Fabian Reinartz 4cc37eecab Refactor and add tests for compactor
7 years ago
Fabian Reinartz 5cf2662074 Refactor WAL into Head and misc improvements
7 years ago
Fabian Reinartz 8209e3ec23 Add various metrics
7 years ago
Fabian Reinartz 3901b6e70b Remove multiple heads
7 years ago
Andreas Kohn 4003da0fdd
Log the directory when the WAL cannot be opened
7 years ago
Fabian Reinartz 905af27cf9 Refactor compactor
7 years ago
Fabian Reinartz 66ff7b12e9 Pool Chunk objects during compaction
7 years ago
Fabian Reinartz fa04455cd7 Properly detect compactable heads
7 years ago
tianwenjie01 b64054365d Fix DefaultOptions
7 years ago
Fabian Reinartz 74f67e8271 Fix compacting disable/enable
7 years ago
Fabian Reinartz 3065be97d8 Fix and document locking order for DB
7 years ago
Fabian Reinartz 9c4235532e Fix compaction selection after creating new heads
7 years ago
Goutham Veeramachaneni 7b9c536883 Merge pull request #103 from Gouthamve/block-ranges
7 years ago
Goutham Veeramachaneni 9a2ab732b5 Choose ranges by retention and min-block-duration
7 years ago
Goutham Veeramachaneni f1ae239c20 Persist the right MaxTime when snapshotting
7 years ago