Commit Graph

55 Commits (900eb53ee7cec0a3b6319715812a85b56954cc83)

Author SHA1 Message Date
Mario Trangoni b7173eb0e5 fix some comments typos (#315)
7 years ago
Simon Pasquier 79defa54df Fix crash when a series has no block
7 years ago
Fabian Reinartz adb6be73dd move label read function int labels pkg
7 years ago
Fabian Reinartz 67f0ca8f0e Move index and chunk encoders to own packages
7 years ago
Goutham Veeramachaneni e6e3fa566a Remove verbose log line that is causing travis issues
7 years ago
Goutham Veeramachaneni 9f2935c5cf
Merge pull request #224 from Gouthamve/fix-214
7 years ago
Callum Styan bcde61b237 we shouldn't assume we'll receive the labels in sorted order
7 years ago
Callum Styan 8326e410d0 decouple tsdb main.go (and tests) from prometheus/pkg
7 years ago
Goutham Veeramachaneni 05d62ca842 Make sure gc'ed chunks are handled properly
7 years ago
Callum Styan df7cc4dff5 remove Nil/NotNil functions
7 years ago
Callum Styan ca4e817372 move test utils to it's own package so we can use it in tests for other packages in tsdb repo
7 years ago
Callum Styan 5aa2af255b use test utils in head_test
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
Julius Volz 1dad3370fd Close WAL when closing the DB
7 years ago
Fabian Reinartz 82796db37b Ensure near-empty chunks end at correct boundary
7 years ago
Fabian Reinartz c3e502b194 Merge pull request #168 from prometheus/fasterwal
7 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking
7 years ago
Fabian Reinartz d3682d701c wal: decode and process in separate threads.
7 years ago
Goutham Veeramachaneni 203012169a
snapshot: Remove truncation check to restore func.
7 years ago
Fabian Reinartz 162a48e4f2 Create series with ID recorded in WAL when reading it back
7 years ago
Fabian Reinartz 7ada9cd805 Simplify series create logic in head
7 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks
7 years ago
Fabian Reinartz 1ddedf2b30 Change series ID from uint32 to uint64
7 years ago
Fabian Reinartz af2c2f9674 Re-enable head block delet test
7 years ago
Fabian Reinartz 893b6ec506 Add tests for GC and chunk truncation
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
Brian Brazil 60c823c663 Fix broken test (#99)
8 years ago
Fabian Reinartz 05e411a8eb Improve heuristic to spread chunks across block
8 years ago
Goutham Veeramachaneni 9bf7aa9af1
Misc. fixes incorporating feedback.
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 d6bd64357b
Fix Delete on HeadBlock
8 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers
8 years ago
Fabian Reinartz 8b51b7e2be Make WAL for HeadBlock composeable.
8 years ago
Fabian Reinartz 5534e6c53c Make HeadBlock impl public, make interface private
8 years ago
Fabian Reinartz 09cd2021de Merge pull request #75 from Gouthamve/head-gen
8 years ago
Goutham Veeramachaneni 8096d11e4e
Add bounds check to headBlockAppender
8 years ago
Goutham Veeramachaneni 5d2e72269b
Simplfied loops and functions
8 years ago
Goutham Veeramachaneni 0908b0d27e
Add an end-to-end test for headBlock
8 years ago
Goutham Veeramachaneni 0becfc8eb7
Simplify checking by using readSeriesSet
8 years ago
Goutham Veeramachaneni adaf4d2099
Handle duplicate & out of order values in same txn
8 years ago
Brian Brazil bceb5c1b16 When checking for amended points, do it in terms of bits.
8 years ago
Fabian Reinartz 778103b450 Add liecence file and headers
8 years ago
Fabian Reinartz 10c7c9acbe Adjust import names to new repository organisation
8 years ago
Fabian Reinartz 34efe4e2c8 Drop position mapper from head block
8 years ago