Commit Graph

115 Commits (cb4dde7659d55e074cacbe24385e393c598c56f0)

Author SHA1 Message Date
Fabian Reinartz cb4dde7659 Fix WAL log recovery bug
8 years ago
Fabian Reinartz 3910b913bd Revert interval overlap comparison changes
8 years ago
Fabian Reinartz 87805fb83f Remove Partitioned* code
8 years ago
Fabian Reinartz eedbebe1d7 Misc cleanups
8 years ago
Fabian Reinartz 50791a412e Remove leaky Appender abstraction for hashedAppend
8 years ago
Fabian Reinartz 87d270fe11 Fix interval check, make DB shutdown concurrent
8 years ago
Fabian Reinartz 04783831e2 Correctly close compacted blocks.
8 years ago
Fabian Reinartz 55a9b5428a Add separate head mutex
8 years ago
Fabian Reinartz 3e569bc964 Optimize memory allocations in writer
8 years ago
Fabian Reinartz ffb24a98f4 Add missing unlock, run debug endpoint in benchmark
8 years ago
Fabian Reinartz 92120448c2 Properly cleanup compacted dirs, fixes, docs
8 years ago
Fabian Reinartz 2c3e778d90 Compactor interface
8 years ago
Fabian Reinartz 2c3b56350a Write meta.json file atomically
8 years ago
Fabian Reinartz 6c4217276f Periodically trigger compaction
8 years ago
Fabian Reinartz db5c88ea9a Misc compaction fixes
8 years ago
Fabian Reinartz b281e4e39b Accept prometheus.Registerer in constructor
8 years ago
Fabian Reinartz 306831f151 Add per-block state ULID
8 years ago
Fabian Reinartz 78780cd2ba Segment chunk file
8 years ago
Fabian Reinartz a3b47c4929 Create default logger for DB
8 years ago
Fabian Reinartz f734773214 Replace per-file locking with single PID lock file
8 years ago
Fabian Reinartz 79944a5912 Break out WAL into segment files
8 years ago
Fabian Reinartz 987a90d149 Don't delete files if retention duration is 0
8 years ago
Fabian Reinartz 9c76624df2 Add initial retention cutoff
8 years ago
Fabian Reinartz f1435f2e2c Track appended samples properly in metric
8 years ago
Fabian Reinartz 012cf4ef25 Count writer references on head blocks
8 years ago
Fabian Reinartz 5a1c8eaa0e Fix missing appends after reference lookups
8 years ago
Fabian Reinartz f556036037 Close blocks before overwriting with compacted one
8 years ago
Fabian Reinartz ac5229e1b4 Correctly write empty blocks and extend appenders by new blocks
8 years ago
Fabian Reinartz 42fa342229 Improve multi-head handling
8 years ago
Fabian Reinartz 30efe4a58c Support writing to multiple head blocks
8 years ago
Fabian Reinartz a61a31a5d7 compaction: add fast-path for compacting mem blocks
8 years ago
Fabian Reinartz c20cc44b06 Add docs, write sequence number to meta.json
8 years ago
Fabian Reinartz 30d8866c13 Limit compaction range, make cut and compact concurrent
8 years ago
Fabian Reinartz 67d185ceb9 Compact based on compaction generation
8 years ago
Fabian Reinartz d4779b374c Properly track and write meta file
8 years ago
Fabian Reinartz 9ddbd64d00 Move stats into meta.json file, cleanup, docs
8 years ago
Fabian Reinartz e006bc6dc6 Improve error messages, create regular dir for block
8 years ago
Fabian Reinartz d2322f6095 Improve compaction processing
8 years ago
Fabian Reinartz 343dd9d94c Fix wrong byte size in WAL base ref
8 years ago
Fabian Reinartz dd0b69fe1b Export ErrNotFound
8 years ago
Fabian Reinartz 1c80c33e72 Fix bug of unsorted postings lists being created
8 years ago
Fabian Reinartz c7f5590a71 Ensure order of postings when adding new series
8 years ago
Fabian Reinartz d970f0256a Add Rollback() and docs to Appender interface
8 years ago
Fabian Reinartz 22db9c3413 Remove old appendBatch methods
8 years ago
Fabian Reinartz a317f252b9 Expose series references to clients
8 years ago
Fabian Reinartz c32a94d409 Unexport HeadBlock, export Block interface
8 years ago
Fabian Reinartz 29883a18fc Add own Appender() method for DB
8 years ago
Fabian Reinartz 142c89b8b0 Fix/update metrics
8 years ago
Fabian Reinartz 8c31c6e934 Make concurrent head chunk reads safe, fix misc races
8 years ago
Fabian Reinartz 1943f8d1bb Fix head block stats races
8 years ago