Commit Graph

75 Commits (7245c6dc33c57cfcfbf3a14085b7c45d08fd15fb)

Author SHA1 Message Date
Krasi Georgiev dac2b97dfd
make createBlock more generic so it can be used in other tests. (#489)
6 years ago
Krasi Georgiev 48c439d26d
fix statick check errors (#475)
6 years ago
Krasi Georgiev 520ab7dc53
re-add the missing prometheus_tsdb_wal_corruptions_total (#473)
6 years ago
Krasi Georgiev 2962202ed3
fix windows tests (#469)
6 years ago
Krasi Georgiev bac9cbed2e
no overlapping on compaction when an existing block is not within default boundaries. (#461)
6 years ago
Krasi Georgiev 0493efb7c5
repair wal when the record cannot be decoded (#453)
6 years ago
Krasi Georgiev 5a9ddeecef
fix lint errors (#439)
6 years ago
Krasi Georgiev d804a27062
refactor util funcs to allow re-usage. (#419)
6 years ago
Ben a8351dc9d0 Using filepath.Join() instead of strings with slashes (#428)
6 years ago
Krasi Georgiev d05611c027
removed some unused code and moved mockSeriesSet in querier_test (#394)
6 years ago
Chris Marchbanks 2db59a71a6 Fix assert order being backwards in a few places (#388)
6 years ago
Ganesh Vernekar e779603633 Reuse testutil (#393)
6 years ago
Chris Marchbanks a8966cb53d Fix race condition between gc and committing (#378)
6 years ago
Krasi Georgiev ad459ca1f4
re-added TestDeleteUntilCurMax TestDelete_e2e (#382)
6 years ago
Alexey Palazhchenko 9be883670e fix the test data file path in benchmarks. (#345)
6 years ago
Fabian Reinartz def912ce0e Integrate new WAL and checkpoints
6 years ago
codwu 667e539a7a Merge branch 'master' of https://github.com/prometheus/tsdb into tsdb-delete
7 years ago
Fabian Reinartz ea607b9fc3 Log series on rollback
7 years ago
codwu 84a45cb79a add rwmutex to prevent concurrent map read when delete series
7 years ago
Alexey Palazhchenko 64cce683cc gofmt -s.
7 years ago
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