Commit Graph

128 Commits (1943f8d1bb212b972f40ffa4312705a278a1eccd)
 

Author SHA1 Message Date
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
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 40cf215fba Hotfix missing sorting of head block series index
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 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 62b8ded0a5 Rename iterator value getters to At()
8 years ago
Fabian Reinartz 5c45a1cc6f Remove shardSeriesSet caching
8 years ago
Fabian Reinartz beb842a856 Change block interface
8 years ago
Fabian Reinartz 5d75a3dc7b Add basic compaction
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 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 286293802b Add merge postings
8 years ago
Fabian Reinartz ab7fbc05ad Zero timestamp as base, use binary search list postings
8 years ago
Fabian Reinartz dd72b52098 Add postings intersection
8 years ago
Fabian Reinartz f8111cef0e Fix chunk series iterator seeking
8 years ago
Fabian Reinartz 201d7687b6 Fix uniqueness of new series
8 years ago
Fabian Reinartz 5efe1d178e labels: add Compare and String methods
8 years ago
Fabian Reinartz 0d0c5cfaf1 labels: add string constructor, expose matcher
8 years ago
Fabian Reinartz 787199a88e Fix erroneous value assignments
8 years ago
Fabian Reinartz 8aba95048a Rename to OpenHeadBlock
8 years ago
Fabian Reinartz cabd7e4ebc Add small testdata file
8 years ago
Fabian Reinartz e7edae39b2 Use page buffered writer for WAL
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 869cccf080 Test and fixes for buffered iterator
8 years ago