Commit Graph

203 Commits (195bc0d286b077f5633eb4bda76743620588b2fa)

Author SHA1 Message Date
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 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 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 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 96c2bd249f Handle compaction trigger and reinitializing in DB
8 years ago
Fabian Reinartz 937cdb579c Switch to sequential block names
8 years ago
Fabian Reinartz 9790aa98ac Add postings wrapper that emits head postings in label set order
8 years ago
Fabian Reinartz 5aa7f7cce8 Compact head block into persisted block
8 years ago
Fabian Reinartz 3f72d5d027 Fix last timestamp initialization
8 years ago
Fabian Reinartz ac49f8c15e Consolidate persistence and compaction
8 years ago
Fabian Reinartz e7f04d14d5 Lock mmapped files
8 years ago
Fabian Reinartz 91b65b55e7 Run persistence in separate goroutine
8 years ago
Fabian Reinartz a648ef5252 Convert persister into function
8 years ago
Fabian Reinartz dbd2b21d2e Make persistence atomic
8 years ago
Fabian Reinartz beb842a856 Change block interface
8 years ago
Fabian Reinartz 5d7ec06e04 Use ChunkMeta in SeriesWriter
8 years ago
Fabian Reinartz c00d17e691 Modify IndexReader API to accomodate compaction
8 years ago
Fabian Reinartz 1e1a37b15b Remove double-reference in chunk hashmap
8 years ago
Fabian Reinartz 675f0886f0 Append to chunks cannot error
8 years ago
Fabian Reinartz 7280533c42 Add basic shard metrics
8 years ago
Fabian Reinartz 201d7687b6 Fix uniqueness of new series
8 years ago
Fabian Reinartz 787199a88e Fix erroneous value assignments
8 years ago
Fabian Reinartz 8aba95048a Rename to OpenHeadBlock
8 years ago
Fabian Reinartz 1dde3b6d31 Add WAL decoder+loading and benchmarks
8 years ago
Fabian Reinartz 0b8c77361e Add initial WAL writing
8 years ago
Fabian Reinartz 2a825f6c28 Consolidate mem index into HeadBlock
8 years ago
Fabian Reinartz ede733ab6c Extract labels package
8 years ago
Fabian Reinartz 1b23d62e3f Properly close files before reopening
8 years ago
Fabian Reinartz 282d9ae6e2 Implement label value queries in all layers.
8 years ago
Fabian Reinartz bad93d8d57 Extract head serialization into Head method
8 years ago
Fabian Reinartz b08f82fa4e Pre-select relevant chunks on series access.
8 years ago
Fabian Reinartz bd77103a49 Add stats serialization, load querier of all blocks
8 years ago
Fabian Reinartz d56b281006 Rename Iterator to Postings
8 years ago
Fabian Reinartz ca89080128 Misc fixes for initial Prometheus integration
8 years ago
Fabian Reinartz 14dbc59f2b cleanup and switching removal of unsafe calls.
8 years ago
Fabian Reinartz 40a451694f Refactor persistence into interfaces
8 years ago
Fabian Reinartz 74f8dfd95d Persist blocks periodically
8 years ago
Fabian Reinartz 0cf8bb9e53 Move sub-indexes into single index structure
8 years ago
Fabian Reinartz 8aa99a3ebd misc
8 years ago
Fabian Reinartz 2c34a15fe6 Add initial seriailization of block data
8 years ago
Fabian Reinartz 3ef7da33c8 Restructure files
8 years ago