Commit Graph

81 Commits (c36d574290e378570d778111b99f1b0687168f6c)

Author SHA1 Message Date
Fabian Reinartz 1ddedf2b30 Change series ID from uint32 to uint64
7 years ago
Fabian Reinartz 4cc37eecab Refactor and add tests for compactor
7 years ago
Fabian Reinartz 5cf2662074 Refactor WAL into Head and misc improvements
7 years ago
Fabian Reinartz 3901b6e70b Remove multiple heads
7 years ago
Goutham Veeramachaneni 7438ed7035 Expose Intervals type for use by TombstoneReader.
7 years ago
Fabian Reinartz 905af27cf9 Refactor compactor
7 years ago
Fabian Reinartz 66ff7b12e9 Pool Chunk objects during compaction
7 years ago
Fabian Reinartz 2644c8665c Don't allocate ChunkMetas, reuse postings slices
7 years ago
Fabian Reinartz 96d7f540d4 Persist series without allocating the full set
7 years ago
Fabian Reinartz 3410559c1b Compact head block early
8 years ago
Fabian Reinartz f006e2d1ab Merge pull request #92 from prometheus/sources
8 years ago
Fabian Reinartz 683b4c8c2a Add list of source head blocks to meta.json
8 years ago
Goutham Veeramachaneni 261cd9f393
Incorporate feedback.
8 years ago
Goutham Veeramachaneni a110a64abd
Add full Snapshot support
8 years ago
Goutham Veeramachaneni a1c8425357
Initial implementation of HeadBlock Snapshots
8 years ago
Goutham Veeramachaneni 29c73f05f2
Make sure that mint and maxt are not modified.
8 years ago
Goutham Veeramachaneni 44e9ae38b5
Incorporate PR feedback.
8 years ago
Goutham Veeramachaneni 6febabeb28
Final delete fixes.
8 years ago
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