Commit Graph

60 Commits (d38516b1c2e5c6eb118df3fe84c9679153ef08d3)

Author SHA1 Message Date
Krasi Georgiev d38516b1c2
remove unused changes variable (#391)
6 years ago
Chris Marchbanks 2db59a71a6 Fix assert order being backwards in a few places (#388)
6 years ago
Goutham Veeramachaneni 9c8ca47399
Fix filehandling for windows (#392)
6 years ago
Fabian Reinartz 45071c657c Properly initialize head time
6 years ago
Fabian Reinartz 7841d417b3 Ensure blocks are time-ordered in memory
6 years ago
codwu 667e539a7a Merge branch 'master' of https://github.com/prometheus/tsdb into tsdb-delete
6 years ago
Benoît Knecht 24b223c161 db: add test for Querier returning too many blocks
7 years ago
Benoît Knecht 4ed6b9ed72 db: add test for chunks that span beyond a block's boundaries
7 years ago
Fabian Reinartz af9003dcef Add resilience to crashes during deletion
7 years ago
codwu cd145c90d5 remove `put` function and use RLock in `Iter` function
7 years ago
codwu 84a45cb79a add rwmutex to prevent concurrent map read when delete series
7 years ago
Krasi Georgiev 6094f35aa2 simplify if-else,test before the tombstone failure, more comments
7 years ago
Krasi Georgiev f31a0d6457 add Test for Tombstone Cleaning after a failure
7 years ago
Fabian Reinartz 76c1b2cdb6 Ensure correct block order on reload
7 years ago
Alexey Palazhchenko 64cce683cc gofmt -s.
7 years ago
Bartek Plotka 15b5d89222 db: Addressed comments.
7 years ago
Bartek Plotka cc306ef0d5 Added grouping by overlap range.
7 years ago
Bartek Plotka 7412e2b44b Added more cases and modified one var name.
7 years ago
Bartek Plotka f07d829946 db: Tiny tuning of algo + added proper print.
7 years ago
Bartek Plotka 1e60f02066 db: Simplified tests.
7 years ago
Bartek Plotka 51ce1cc7ff db: Fixed validateBlockSequence.
7 years ago
Bartek Plotka a9b28a6aa0 db: Added tests for validateBlockSequence to confirm a bug.
7 years ago
Fabian Reinartz 8cd32d8fd4 Improve usability of snapshots
7 years ago
Krasi Georgiev eb6cdbcb5b some test funcitons didn't cleanup after themselves.
7 years ago
Simon Pasquier e9fc37be61 Count the total and failed block cutoffs
7 years ago
Goutham Veeramachaneni 3158b03e6c Select series with label unset for != and !~
7 years ago
Goutham Veeramachaneni 667b5575e9 Close db so that file space is reclaimed immediately after delete.
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 670c2917e2 use test utils in db_test
7 years ago
Goutham Veeramachaneni 30bbbe34f8
Merge pull request #210 from Gouthamve/tomb-clean
7 years ago
Goutham Veeramachaneni f35e9c7fec
Merge branch 'master' into fix-dels
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 17dd4f8f6c
Merge pull request #213 from Gouthamve/close-retention-blocks
7 years ago
Goutham Veeramachaneni 41fd9c66ef
Close the retention blocks before deleting them.
7 years ago
Goutham Veeramachaneni 1fc94a02d1
Don't retry failed compactions.
7 years ago
Goutham Veeramachaneni 1627a47640
A copy is being assigned newChunk not the original
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 fb9da52b11 Add more verbose error handling for closing, reduce locking
7 years ago
Dimitrij Denissenko c9fc2af6c0 Add test for snapshot
7 years ago
Goutham Veeramachaneni afaf12fe45
Compress the series chunk details in index.
7 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks
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 3065be97d8 Fix and document locking order for DB
7 years ago
Goutham Veeramachaneni 9bf7aa9af1
Misc. fixes incorporating feedback.
8 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers
8 years ago