Commit Graph

816 Commits (5ae6c60d3934266a2ad1f5e7c8439bce2466400b)
 

Author SHA1 Message Date
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
Fabian Reinartz d2322f6095 Improve compaction processing
8 years ago
Fabian Reinartz 5ceca3c810 Write to WAL before appending to memory storage
8 years ago
Fabian Reinartz 343dd9d94c Fix wrong byte size in WAL base ref
8 years ago
Fabian Reinartz 5fb01d41aa Use new Prometheus text format parser
8 years ago
Fabian Reinartz dd0b69fe1b Export ErrNotFound
8 years ago
Fabian Reinartz 9cf49f68e9 wal: use larger buffer
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 fde69dab49 Use buffer pool for head appenders
8 years ago
Fabian Reinartz a317f252b9 Expose series references to clients
8 years ago
Fabian Reinartz 5e028710d5 Add fast past to validation after lock switch
8 years ago
Fabian Reinartz 1b39887baa Revalidate series existance after lock switch
8 years ago
Fabian Reinartz ca5791efbc Simplify creation of new series
8 years ago
Fabian Reinartz 0ca755b4ae Replace single head chunk per series with memSeries
8 years ago
Fabian Reinartz 80affd98a8 Add barrier to benchmark writer
8 years ago
Fabian Reinartz c32a94d409 Unexport HeadBlock, export Block interface
8 years ago
Fabian Reinartz d86e8a63c7 Report correct number of appended samples
8 years ago
Fabian Reinartz 29883a18fc Add own Appender() method for DB
8 years ago
Fabian Reinartz 4c4e0c614e Simplify position mapper updating
8 years ago
Fabian Reinartz 142c89b8b0 Fix/update metrics
8 years ago
Fabian Reinartz 0dffd52238 Use page writer in compaction
8 years ago
Fabian Reinartz 89d8467f5c Add missing lock
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
Fabian Reinartz 6aa922c5a6 Fix races
8 years ago
Fabian Reinartz 54f5027406 Put WAL lock down into encoder
8 years ago
Fabian Reinartz 300f4e2abf Use separate lock for series creation
8 years ago
Fabian Reinartz 63e12807da Don't update head postings mapper on every append
8 years ago
Fabian Reinartz 71efd2e08d Periodically fsync WAL, make head cut async
8 years ago
Fabian Reinartz c61b310210 Naive size-based compaction
8 years ago
Fabian Reinartz 2eb544c98e Change file names and maker parsing safer
8 years ago
Fabian Reinartz 96c2bd249f Handle compaction trigger and reinitializing in DB
8 years ago
Fabian Reinartz 3ed2c2a14b Rename Partition to regular DB, DB to PartitionedDB
8 years ago
Fabian Reinartz 937cdb579c Switch to sequential block names
8 years ago
Fabian Reinartz 4590b61343 Rename shard to partition
8 years ago