Commit Graph

102 Commits (cc673dc167e34930d9a0a3361f6e777afb7c347b)

Author SHA1 Message Date
Fabian Reinartz d09283f60a Add repair of bad index version
7 years ago
Goutham Veeramachaneni 2c3400ab4e Add block ULID to index reader errors
7 years ago
Shubheksha Jalan 7b27dc2109 address review comments, fix index tests
7 years ago
Shubheksha Jalan 44052bc937 Make version for index format configurable
7 years ago
Shubheksha Jalan 129773b41a merge BlockMeta and blockMeta struct, implement v1 and v2 index readers
7 years ago
Fabian Reinartz 1e55b7987f Improve comments, handle allPostingsKey properly
7 years ago
Fabian Reinartz 67f0ca8f0e Move index and chunk encoders to own packages
7 years ago
Goutham Veeramachaneni 3158b03e6c Select series with label unset for != and !~
7 years ago
Goutham Veeramachaneni 8a5ea9db74
Merge branch 'master' into tomb-clean
7 years ago
Goutham Veeramachaneni 24ff293dc9
Merge pull request #207 from Gouthamve/compact-fail
7 years ago
Goutham Veeramachaneni e7445d00b0
Add a function to cleanup tombstones.
7 years ago
Goutham Veeramachaneni 1fc94a02d1
Don't retry failed compactions.
7 years ago
Fabian Reinartz f1512a368a Expose ChunkSeriesSet and lookups methods.
7 years ago
Fabian Reinartz 3ef4326114 Refactor tombstone reader types
7 years ago
Fabian Reinartz e5ce2bef43 Add explicit error to Querier.Select
7 years ago
Fabian Reinartz d578b10d5c chunk: make reader accept abstract ByteSlice
7 years ago
Fabian Reinartz b7c3cfecbf index: abstract ByteSlice and adjust indexReader
7 years ago
Sunny Klair 4fdf9b195c Validate index TOC checksum on read
7 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking
7 years ago
Fabian Reinartz 78df406dac Allocate and cache strings for persisted blocks
7 years ago
Goutham Veeramachaneni 8919baef03
Expose NewIndexReader() and cleanups
7 years ago
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