Commit Graph

228 Commits (f07d82994633f562f96e78d79c7ce5411a7de553)

Author SHA1 Message Date
Bartek Plotka f07d829946 db: Tiny tuning of algo + added proper print.
7 years ago
Bartek Plotka c8b4a7b839 db: Simplified algorithm.
7 years ago
Bartek Plotka 51ce1cc7ff db: Fixed validateBlockSequence.
7 years ago
Bartek Plotka a9b28a6aa0 db: Added tests for validateBlockSequence to confirm a bug.
7 years ago
Matt Bostock aa517c39bb
Fix typo in db.go
7 years ago
Fabian Reinartz 8cd32d8fd4 Improve usability of snapshots
7 years ago
Fabian Reinartz a345231a0e Add test for block meta version and comments
7 years ago
Fabian Reinartz 04d5ac5aae Add repair test
7 years ago
Fabian Reinartz d09283f60a Add repair of bad index version
7 years ago
Fabian Reinartz 5b26bd5f6f
Merge pull request #252 from simonpasquier/add-cuttoff-metrics
7 years ago
Goutham Veeramachaneni b7bea04e62
Fix extra reloads.
7 years ago
Simon Pasquier e9fc37be61 Count the total and failed block cutoffs
7 years ago
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