Commit Graph

253 Commits (10c7c9acbe0175a411bce90cd7a0d9d7a13d6a83)
 

Author SHA1 Message Date
Fabian Reinartz 2841499212 Simplify and split up iterators
8 years ago
Fabian Reinartz ed63636de4 Add initial index write/read symmetry test.
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 cc0a7c8279 Create alloc and inuse space heap profile
8 years ago
Fabian Reinartz ffb24a98f4 Add missing unlock, run debug endpoint in benchmark
8 years ago
Fabian Reinartz 21b97d1e04 Fix compaction selection procedure
8 years ago
Fabian Reinartz 327e07e8d0 Properly sync moves and removes in compactor
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 9a5dfadb09 Tweak IndexWriter interface, serialize directly into dir
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 c808928b90 SeriesWriter -> ChunkWriter
8 years ago
Fabian Reinartz a3d042b54e Support multiple chunk files in read path
8 years ago
Fabian Reinartz afa084920c Use Castagnoli polynomial for CRC32s; cache them
8 years ago
Fabian Reinartz 9c7a88223e Add full encode/decode WAL cycle test
8 years ago
Fabian Reinartz 2c97428a79 Add basic WAL tests
8 years ago
Fabian Reinartz 84e8027a8e Close consumed WAL segments, verify checksums on read
8 years ago
Fabian Reinartz eeb03e97e2 Add headers and format flag for WAL segments
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 472c618c39 Drop out-of-bound samples
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 2f02f86b62 Fix WAL tests
8 years ago
Fabian Reinartz e006bc6dc6 Improve error messages, create regular dir for block
8 years ago