Commit Graph

42 Commits (f07d82994633f562f96e78d79c7ce5411a7de553)

Author SHA1 Message Date
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
Fabian Reinartz 285bc07030 Switch append refs to string
8 years ago
Fabian Reinartz 54a7b98cff Fix and test ref handling in DB appender
8 years ago
Brian Brazil 2742fc380b Test we get back out the data we put in.
8 years ago
Brian Brazil dba222b53c Make rollback actually rollback.
8 years ago
Fabian Reinartz 778103b450 Add liecence file and headers
8 years ago
Fabian Reinartz eedbebe1d7 Misc cleanups
8 years ago
Fabian Reinartz 0a94f58f1a Fix test import of labels, simplify constructor names
8 years ago
Fabian Reinartz 83574b1565 Add new interfaces and skeleton
8 years ago
Fabian Reinartz 6f93a699e6 wipe
8 years ago
Fabian Reinartz f9f11c4a08 Add main db implementation
8 years ago