Commit Graph

482 Commits (ab8d9b97069a64926ef7245d54a87051b86bc3ea)
 

Author SHA1 Message Date
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
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