Commit Graph

257 Commits (4dd740e4cc2d6fb490a94deec899bb4ddb191eb4)

Author SHA1 Message Date
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 8 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
Goutham Veeramachaneni 9a2ab732b5 Choose ranges by retention and min-block-duration 9 years ago
Goutham Veeramachaneni f1ae239c20 Persist the right MaxTime when snapshotting 9 years ago
Goutham Veeramachaneni ce23adb579 Initial compaction implementation for block-ranges 9 years ago
Fabian Reinartz 1e74c155eb Return empty string to signal non-caching 9 years ago
Fabian Reinartz 3410559c1b Compact head block early 9 years ago
Fabian Reinartz 03f95ee096 Fix directory file descriptor leak. 9 years ago
Fabian Reinartz d4cb579443 Add DB.Dir method 9 years ago
Goutham Veeramachaneni ff4ccb6eb0
Remove unnecessary error from ToggleCompaction fns 9 years ago
Goutham Veeramachaneni 261cd9f393
Incorporate feedback. 9 years ago
Goutham Veeramachaneni a110a64abd
Add full Snapshot support 9 years ago
Goutham Veeramachaneni a1c8425357
Initial implementation of HeadBlock Snapshots 9 years ago
Fabian Reinartz b3b9245ad6 Add and fix metrics 9 years ago
Goutham Veeramachaneni 6febabeb28
Final delete fixes. 9 years ago
Goutham Veeramachaneni 9bf7aa9af1
Misc. fixes incorporating feedback. 9 years ago
Goutham Veeramachaneni 0b70333ef6
Add tests for tombstones. 9 years ago
Goutham Veeramachaneni d32eb25662
Synchronise deletes and compactions. 9 years ago
Goutham Veeramachaneni 3dbb400bef
Initial implementation of Delete on DB. 9 years ago
Fabian Reinartz debfe9b1e5 Simplify AddFast and avoid errgroup Commits in general 9 years ago
Fabian Reinartz fb5c5535fc Misc cleanup 9 years ago