Commit Graph

63 Commits (4dd740e4cc2d6fb490a94deec899bb4ddb191eb4)

Author SHA1 Message Date
Ganesh Vernekar 61d0868966 Fix TestCorrectNumTombstones (#399) 7 years ago
Ganesh Vernekar 6e712963e2 Fix updating of NumTombstones in block.Delete(..) (#385) 7 years ago
Krasi Georgiev d05611c027
removed some unused code and moved mockSeriesSet in querier_test (#394) 7 years ago
Krasi Georgiev d38516b1c2
remove unused changes variable (#391) 7 years ago
Chris Marchbanks 2db59a71a6 Fix assert order being backwards in a few places (#388) 7 years ago
Goutham Veeramachaneni 9c8ca47399
Fix filehandling for windows (#392) 7 years ago
Fabian Reinartz 45071c657c Properly initialize head time 8 years ago
Fabian Reinartz 7841d417b3 Ensure blocks are time-ordered in memory 8 years ago
Benoît Knecht 24b223c161 db: add test for Querier returning too many blocks 8 years ago
Benoît Knecht 4ed6b9ed72 db: add test for chunks that span beyond a block's boundaries 8 years ago
Fabian Reinartz af9003dcef Add resilience to crashes during deletion 8 years ago
codwu cd145c90d5 remove `put` function and use RLock in `Iter` function 8 years ago
codwu 84a45cb79a add rwmutex to prevent concurrent map read when delete series 8 years ago
Krasi Georgiev 6094f35aa2 simplify if-else,test before the tombstone failure, more comments 8 years ago
Krasi Georgiev f31a0d6457 add Test for Tombstone Cleaning after a failure 8 years ago
Fabian Reinartz 76c1b2cdb6 Ensure correct block order on reload 8 years ago
Alexey Palazhchenko 64cce683cc gofmt -s. 8 years ago
Bartek Plotka 15b5d89222 db: Addressed comments. 8 years ago
Bartek Plotka cc306ef0d5 Added grouping by overlap range. 8 years ago
Bartek Plotka 7412e2b44b Added more cases and modified one var name. 8 years ago
Bartek Plotka f07d829946 db: Tiny tuning of algo + added proper print. 8 years ago
Bartek Plotka 1e60f02066 db: Simplified tests. 8 years ago
Bartek Plotka 51ce1cc7ff db: Fixed validateBlockSequence. 8 years ago
Bartek Plotka a9b28a6aa0 db: Added tests for validateBlockSequence to confirm a bug. 8 years ago
Fabian Reinartz 8cd32d8fd4 Improve usability of snapshots 8 years ago
Krasi Georgiev eb6cdbcb5b some test funcitons didn't cleanup after themselves. 8 years ago
Simon Pasquier e9fc37be61 Count the total and failed block cutoffs 8 years ago
Goutham Veeramachaneni 3158b03e6c Select series with label unset for != and !~ 8 years ago
Goutham Veeramachaneni 667b5575e9 Close db so that file space is reclaimed immediately after delete. 8 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 8 years ago
Callum Styan 670c2917e2 use test utils in db_test 8 years ago
Goutham Veeramachaneni e7445d00b0
Add a function to cleanup tombstones. 8 years ago
Goutham Veeramachaneni 41fd9c66ef
Close the retention blocks before deleting them. 8 years ago
Goutham Veeramachaneni 1fc94a02d1
Don't retry failed compactions. 8 years ago
Goutham Veeramachaneni 1627a47640
A copy is being assigned newChunk not the original 8 years ago
Fabian Reinartz e5ce2bef43 Add explicit error to Querier.Select 8 years ago
Julius Volz 1dad3370fd Close WAL when closing the DB 8 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking 8 years ago
Dimitrij Denissenko c9fc2af6c0 Add test for snapshot 8 years ago
Goutham Veeramachaneni afaf12fe45
Compress the series chunk details in index. 8 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks 8 years ago
Fabian Reinartz 5cf2662074 Refactor WAL into Head and misc improvements 8 years ago
Fabian Reinartz 3901b6e70b Remove multiple heads 8 years ago
Goutham Veeramachaneni 7438ed7035 Expose Intervals type for use by TombstoneReader. 8 years ago
Fabian Reinartz 3065be97d8 Fix and document locking order for DB 9 years ago
Goutham Veeramachaneni 9bf7aa9af1
Misc. fixes incorporating feedback. 9 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers 9 years ago
Fabian Reinartz 285bc07030 Switch append refs to string 9 years ago
Goutham Veeramachaneni 22c1b5b492
Make SeriesSets use tombstones. 9 years ago
Goutham Veeramachaneni 34a86af3c6
Move tombstones to their own thing. 9 years ago