Commit Graph

79 Commits (fe67d2f16a930b790c3f323c19adaef18edbe97c)

Author SHA1 Message Date
Tobias Schmidt 6027af95ca Fix missing prefix of tsdb_wal_* metrics 8 years ago
Fabian Reinartz a993f0ccc0
Fix typo 8 years ago
ranbochen a27cf34a36 fix bugs on platform windows to pass all test case. (#192) 8 years ago
ranbo chen 19340a382d clean up codes 8 years ago
ranbo chen b82b2d0c1b fix bugs on platform windows to pass all test case. 8 years ago
Fabian Reinartz 8aedb7671e wal: synchronize background operations 8 years ago
Fabian Reinartz 80055bb95b Truncate segments on broken header 8 years ago
Fabian Reinartz 7efb830d70 wal: parallelize sample processing 8 years ago
Fabian Reinartz d3682d701c wal: decode and process in separate threads. 8 years ago
Simon Pasquier 3e17cd1621 Instrument WAL corruptions 8 years ago
Bas Harenslak 5e1c258a98 Instrument WAL fsync 8 years ago
Fabian Reinartz bbe72dccb9 Remove dependency on etcd/pkg/fileutil 8 years ago
Goutham Veeramachaneni c35d3a65bd
Add levels to all log lines. 8 years ago
Fabian Reinartz 1e88ba06b4 Use boolean function instead of postings to drop WAL series 8 years ago
Fabian Reinartz 162a48e4f2 Create series with ID recorded in WAL when reading it back 8 years ago
Fabian Reinartz 7ada9cd805 Simplify series create logic in head 8 years ago
Fabian Reinartz 6892fc6dcb Finish old WAL segment async, default to no fsync 8 years ago
Fabian Reinartz 1d5f85817d Fix various races 8 years ago
Fabian Reinartz c2916736be Re-use slices on deocding the WAL. Fix tests. 8 years ago
Fabian Reinartz 0db4c227b7 Fix min/max time handling and concurrent crc32 usage 8 years ago
Fabian Reinartz 970bffec8d Fix WAL errors and add tests for it 8 years ago
Fabian Reinartz 81222849bc Filter WAL data in Head, misc fixes 8 years ago
Fabian Reinartz 33e9bdf403 WAL refactoring and truncation fixes and test 8 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks 8 years ago
Fabian Reinartz 1ddedf2b30 Change series ID from uint32 to uint64 8 years ago
Goutham Veeramachaneni 1698c516ad [WIP]: WAL implementation 8 years ago
Fabian Reinartz 893b6ec506 Add tests for GC and chunk truncation 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
Alin Sinpalean 8f7934d025 Take the fdatasync() syscall out from under mutex lock to (mostly) avoid scrape and eval from blocking on disk I/O. 8 years ago
Matt Layher 78b15c3434
Add newCRC32 function to simplify hash initialization 8 years ago
Goutham Veeramachaneni 7438ed7035 Expose Intervals type for use by TombstoneReader. 8 years ago
Goutham Veeramachaneni 44e9ae38b5
Incorporate PR feedback. 9 years ago
Goutham Veeramachaneni bacb143b7e
Simplify tombstone and WAL Delete formats. 9 years ago
Goutham Veeramachaneni f29fb62fba
Make TombstoneReader a Getter. 9 years ago
Goutham Veeramachaneni 9bf7aa9af1
Misc. fixes incorporating feedback. 9 years ago
Goutham Veeramachaneni 3eb4119ab1
Make HeadBlock use WAL. 9 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers 9 years ago
Fabian Reinartz 4862b261d0 Abstract WAL into interface 9 years ago
Fabian Reinartz 535532ca02 Export refdSample 9 years ago
Julius Volz 8d1fb4fa01 Minor comment fixes and additions. 9 years ago
Fabian Reinartz 778103b450 Add liecence file and headers 9 years ago
Fabian Reinartz 10c7c9acbe Adjust import names to new repository organisation 9 years ago
Fabian Reinartz 9c93f8f2aa Fix various races 9 years ago
Goutham Veeramachaneni 761e4768f3
Lint and Vet Fixes 9 years ago
Fabian Reinartz ad5812d83a Handle WAL corruption by truncating 9 years ago
Fabian Reinartz 04bb006e2b Handle WAL corruption by truncating 9 years ago
Fabian Reinartz d3edfb5540 Test multiple full write/restore cylcles in WAL 9 years ago
Fabian Reinartz cb4dde7659 Fix WAL log recovery bug 9 years ago
Fabian Reinartz 55a9b5428a Add separate head mutex 9 years ago