Commit Graph

188 Commits (643563068b778c498d369dd2fa00f6169e17890b)

Author SHA1 Message Date
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
Goutham Veeramachaneni ce23adb579 Initial compaction implementation for block-ranges
7 years ago
Fabian Reinartz 1e74c155eb Return empty string to signal non-caching
8 years ago
Fabian Reinartz 3410559c1b Compact head block early
8 years ago
Fabian Reinartz 03f95ee096 Fix directory file descriptor leak.
8 years ago
Fabian Reinartz d4cb579443 Add DB.Dir method
8 years ago
Goutham Veeramachaneni ff4ccb6eb0
Remove unnecessary error from ToggleCompaction fns
8 years ago
Goutham Veeramachaneni 261cd9f393
Incorporate feedback.
8 years ago
Goutham Veeramachaneni a110a64abd
Add full Snapshot support
8 years ago
Goutham Veeramachaneni a1c8425357
Initial implementation of HeadBlock Snapshots
8 years ago
Goutham Veeramachaneni 3a5ae6b1a4 Merge pull request #82 from Gouthamve/deletes-1
8 years ago
Fabian Reinartz b3b9245ad6 Add and fix metrics
8 years ago
Goutham Veeramachaneni 6febabeb28
Final delete fixes.
8 years ago
Goutham Veeramachaneni 9bf7aa9af1
Misc. fixes incorporating feedback.
8 years ago
Goutham Veeramachaneni 8434019ad9
Merge branch 'master' into deletes-1
8 years ago
Goutham Veeramachaneni 0b70333ef6
Add tests for tombstones.
8 years ago
Goutham Veeramachaneni d32eb25662
Synchronise deletes and compactions.
8 years ago
Goutham Veeramachaneni 3dbb400bef
Initial implementation of Delete on DB.
8 years ago
Fabian Reinartz debfe9b1e5 Simplify AddFast and avoid errgroup Commits in general
8 years ago
Fabian Reinartz fb5c5535fc Misc cleanup
8 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers
8 years ago
Fabian Reinartz 285bc07030 Switch append refs to string
8 years ago
Fabian Reinartz 8b51b7e2be Make WAL for HeadBlock composeable.
8 years ago
Fabian Reinartz 5534e6c53c Make HeadBlock impl public, make interface private
8 years ago
Fabian Reinartz 44769c1654 Allow disabling lock file
8 years ago
Fabian Reinartz 35b62f001e Change offset table layout, add TOC, ...
8 years ago
Fabian Reinartz 54a7b98cff Fix and test ref handling in DB appender
8 years ago
Brian Brazil d04bd947ea Merge pull request #51 from prometheus/rollback
8 years ago
Brian Brazil dba222b53c Make rollback actually rollback.
8 years ago