Commit Graph

63 Commits (c211ec4f492c47ec2673c36dac687a717b709b7e)

Author SHA1 Message Date
Goutham Veeramachaneni f29fb62fba
Make TombstoneReader a Getter.
8 years ago
Goutham Veeramachaneni 31cf939448
Add NumTombstones to BlockMeta.
8 years ago
Goutham Veeramachaneni 3eb4119ab1
Make HeadBlock use WAL.
8 years ago
Goutham Veeramachaneni 244b73fce1
Rename for clarity and consistency.
8 years ago
Goutham Veeramachaneni 8434019ad9
Merge branch 'master' into deletes-1
8 years ago
Goutham Veeramachaneni 662d8173fe
Make Appends after Delete visible.
8 years ago
Goutham Veeramachaneni 0b70333ef6
Add tests for tombstones.
8 years ago
Goutham Veeramachaneni 3dbb400bef
Initial implementation of Delete on DB.
8 years ago
Goutham Veeramachaneni 45d3db4e9e
Use a *mapTombstoneReader instead of map
8 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers
8 years ago
Goutham Veeramachaneni 34a86af3c6
Move tombstones to their own thing.
8 years ago
Goutham Veeramachaneni cea3c88f17
Add Tombstones() method to Block.
8 years ago
Goutham Veeramachaneni 3de55171d3
Add tests for tombstones and deletedIterator
8 years ago
Goutham Veeramachaneni 4f1d857590
Implement Delete on HeadBlock
8 years ago
Goutham Veeramachaneni 5579efbd5b
Initial implentation of Deletes on persistedBlock
8 years ago
Fabian Reinartz 5534e6c53c Make HeadBlock impl public, make interface private
8 years ago
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