Commit Graph

166 Commits (ce23adb579409fe536e5f6fb96b9d2c183dba3e6)

Author SHA1 Message Date
Fabian Reinartz 1943f8d1bb Fix head block stats 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 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
Fabian Reinartz 5aa7f7cce8 Compact head block into persisted block
8 years ago
Fabian Reinartz 3f72d5d027 Fix last timestamp initialization
8 years ago
Fabian Reinartz ec99f99d3d Fix and test bug in shardSeriesSet
8 years ago
Fabian Reinartz ac49f8c15e Consolidate persistence and compaction
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 62b8ded0a5 Rename iterator value getters to At()
8 years ago
Fabian Reinartz 5d75a3dc7b Add basic compaction
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 a009247ab7 Add matching of empty label
8 years ago
Fabian Reinartz eb4f366988 Add return error to Appender.Add
8 years ago
Fabian Reinartz 3a5468f251 Lock shards during querying and shutdown
8 years ago
Fabian Reinartz ab7fbc05ad Zero timestamp as base, use binary search list postings
8 years ago
Fabian Reinartz f8111cef0e Fix chunk series iterator seeking
8 years ago
Fabian Reinartz 787199a88e Fix erroneous value assignments
8 years ago
Fabian Reinartz 8aba95048a Rename to OpenHeadBlock
8 years ago
Fabian Reinartz 9c6a72aadd Load head with WALs correctly
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 da2beb3e6d Fix zero division, add buffer series iterator
8 years ago
Fabian Reinartz ede733ab6c Extract labels package
8 years ago
Fabian Reinartz ee217adc7e Redfine append interface, remove old Prometheus storage from bench
8 years ago
Fabian Reinartz d9ca4b47f5 Fix offset errors, fix persisted postings order
8 years ago
Fabian Reinartz 1b23d62e3f Properly close files before reopening
8 years ago
Fabian Reinartz 00a503129b Use contextualized and traced errors in reader
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 b2f1db5666 Add unsafe string and slice conversions
8 years ago
Fabian Reinartz 5424a0cf75 Rename SeriesShard to Shard
8 years ago
Fabian Reinartz 9873e18b75 Add loading of persisted blocks
8 years ago
Fabian Reinartz ca89080128 Misc fixes for initial Prometheus integration
8 years ago
Fabian Reinartz fc992fafc2 Change querier interface, initial implementations
8 years ago
Fabian Reinartz 6eeb0ef01c Add queriers and partial mocks
8 years ago
Fabian Reinartz 5e02e28f9c Add proper mmap calls
8 years ago
Fabian Reinartz 14dbc59f2b cleanup and switching removal of unsafe calls.
8 years ago
Fabian Reinartz 3a528c3078 Write plain postings list index
8 years ago
Fabian Reinartz 8cbc95c316 Write label value indices
8 years ago
Fabian Reinartz 1e0edf367b Write index with symbol table
8 years ago
Fabian Reinartz 40a451694f Refactor persistence into interfaces
8 years ago
Fabian Reinartz 62f9dc311c misc
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
Fabian Reinartz b845f8d3a1 Reduce test data allocations
8 years ago
Fabian Reinartz 52276c6966 Bucket samples before appending.
8 years ago
Fabian Reinartz 9b459458d0 Docs and interface definitions
8 years ago
Fabian Reinartz 83574b1565 Add new interfaces and skeleton
8 years ago
Fabian Reinartz 6f93a699e6 wipe
8 years ago
Fabian Reinartz f9f11c4a08 Add main db implementation
8 years ago