Commit Graph

45 Commits (f8ec0074e70d0c31b54e23ded4e6d67e0b47acb7)

Author SHA1 Message Date
Mario Trangoni c0e888e82b fix megacheck issues: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd.
7 years ago
Krasi Georgiev eb6cdbcb5b some test funcitons didn't cleanup after themselves.
7 years ago
Nipun 6537ee832c Incorporated review comments
7 years ago
Nipun cadae47522 fixed an issue in TestWALRestoreCorrupted
7 years ago
Fabian Reinartz adb6be73dd move label read function int labels pkg
7 years ago
Callum Styan 8326e410d0 decouple tsdb main.go (and tests) from prometheus/pkg
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 6c8bbf3f61 use test utils in wal_test
7 years ago
ranbochen a27cf34a36 fix bugs on platform windows to pass all test case. (#192)
7 years ago
Fabian Reinartz 80055bb95b Truncate segments on broken header
7 years ago
Fabian Reinartz d3682d701c wal: decode and process in separate threads.
7 years ago
Bas Harenslak 5e1c258a98 Instrument WAL fsync
7 years ago
Fabian Reinartz 1e88ba06b4 Use boolean function instead of postings to drop WAL series
7 years ago
Fabian Reinartz 3d8be398d6 Merge branch 'locks' of github.com:prometheus/tsdb into locks
7 years ago
Fabian Reinartz 24362567b9 Fix test flakes
7 years ago
Fabian Reinartz 6892fc6dcb Finish old WAL segment async, default to no fsync
7 years ago
Fabian Reinartz c2916736be Re-use slices on deocding the WAL. Fix tests.
7 years ago
Fabian Reinartz 0db4c227b7 Fix min/max time handling and concurrent crc32 usage
7 years ago
Fabian Reinartz 970bffec8d Fix WAL errors and add tests for it
7 years ago
Fabian Reinartz 33e9bdf403 WAL refactoring and truncation fixes and test
7 years ago
Fabian Reinartz 1ddedf2b30 Change series ID from uint32 to uint64
7 years ago
Goutham Veeramachaneni 1698c516ad [WIP]: WAL implementation
7 years ago
Fabian Reinartz 5cf2662074 Refactor WAL into Head and misc improvements
7 years ago
Fabian Reinartz 215a856f34 Just check for general error in WAL test
7 years ago
Goutham Veeramachaneni 7438ed7035 Expose Intervals type for use by TombstoneReader.
7 years ago
Goutham Veeramachaneni 44e9ae38b5
Incorporate PR feedback.
8 years ago
Goutham Veeramachaneni bacb143b7e
Simplify tombstone and WAL Delete formats.
8 years ago
Goutham Veeramachaneni f29fb62fba
Make TombstoneReader a Getter.
8 years ago
Goutham Veeramachaneni 3eb4119ab1
Make HeadBlock use WAL.
8 years ago
Fabian Reinartz fb5c5535fc Misc cleanup
8 years ago
Fabian Reinartz 4862b261d0 Abstract WAL into interface
8 years ago
Fabian Reinartz 535532ca02 Export refdSample
8 years ago
Fabian Reinartz 778103b450 Add liecence file and headers
8 years ago
Fabian Reinartz 10c7c9acbe Adjust import names to new repository organisation
8 years ago
Fabian Reinartz ad5812d83a Handle WAL corruption by truncating
8 years ago
Fabian Reinartz d3edfb5540 Test multiple full write/restore cylcles in WAL
8 years ago
Fabian Reinartz 9c7a88223e Add full encode/decode WAL cycle test
8 years ago
Fabian Reinartz 2c97428a79 Add basic WAL tests
8 years ago
Fabian Reinartz 9ddbd64d00 Move stats into meta.json file, cleanup, docs
8 years ago
Fabian Reinartz 2f02f86b62 Fix WAL tests
8 years ago
Fabian Reinartz 1943f8d1bb Fix head block stats races
8 years ago
Fabian Reinartz 937cdb579c Switch to sequential block names
8 years ago
Fabian Reinartz 7280533c42 Add basic shard metrics
8 years ago
Fabian Reinartz 8aba95048a Rename to OpenHeadBlock
8 years ago
Fabian Reinartz 1dde3b6d31 Add WAL decoder+loading and benchmarks
8 years ago