Commit Graph

47 Commits (c1939b713602b6752150d3fd1b974f022baeec58)

Author SHA1 Message Date
Fabian Reinartz 5b3cb11f3d Merge pull request #65 from prometheus/comment-fixes
8 years ago
Fabian Reinartz 2c46815adb Merge pull request #66 from prometheus/fix-meta-error-handling
8 years ago
Julius Volz e374db22bc Remove unused skiplist types
8 years ago
Julius Volz 94f1ac599e Fix closing of meta file if meta encoding failed
8 years ago
Julius Volz 8d1fb4fa01 Minor comment fixes and additions.
8 years ago
Fabian Reinartz 778103b450 Add liecence file and headers
8 years ago
Fabian Reinartz 3635569257 Trigger reload correctly on interrupted compaction
8 years ago
Fabian Reinartz 2c999836fb Add Queryable interface to Block
8 years ago
Fabian Reinartz 11be2cc585 Add composed Block interfaces, remove head generation
8 years ago
Fabian Reinartz 2c3b56350a Write meta.json file atomically
8 years ago
Fabian Reinartz 306831f151 Add per-block state ULID
8 years ago
Fabian Reinartz 9a5dfadb09 Tweak IndexWriter interface, serialize directly into dir
8 years ago
Fabian Reinartz 78780cd2ba Segment chunk file
8 years ago
Fabian Reinartz f734773214 Replace per-file locking with single PID lock file
8 years ago
Fabian Reinartz a3d042b54e Support multiple chunk files in read path
8 years ago
Fabian Reinartz 30efe4a58c Support writing to multiple head 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 e006bc6dc6 Improve error messages, create regular dir for block
8 years ago
Fabian Reinartz d2322f6095 Improve compaction processing
8 years ago
Fabian Reinartz c32a94d409 Unexport HeadBlock, export Block interface
8 years ago
Fabian Reinartz 1943f8d1bb Fix head block stats races
8 years ago
Fabian Reinartz 2eb544c98e Change file names and maker parsing safer
8 years ago
Fabian Reinartz 937cdb579c Switch to sequential block names
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 beb842a856 Change block interface
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 d9ca4b47f5 Fix offset errors, fix persisted postings order
8 years ago
Fabian Reinartz 00a503129b Use contextualized and traced errors in reader
8 years ago
Fabian Reinartz bd77103a49 Add stats serialization, load querier of all blocks
8 years ago
Fabian Reinartz 9ceed5378e Fix missing bound checks, off-by-ones, typos
8 years ago
Fabian Reinartz 9873e18b75 Add loading of persisted blocks
8 years ago
Fabian Reinartz 6eeb0ef01c Add queriers and partial mocks
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 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