Commit Graph

21 Commits (9c4782f1cc34f85f07daaaed14af2e7ad1ff56a0)

Author SHA1 Message Date
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Justin Lei 32d87282ad
Add Zstandard compression option for wlog (#11666) 2 years ago
Jesus Vazquez 775d90d5f8
TSDB: Rename wal package to wlog (#11352) 3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 4 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 4 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 4 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536) 4 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
SuperQ e167a45c65
Add new Go build tags. 4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log 5 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
Julien Pivotto 62805b2fe9
tsdb: test for leaks (#7566) 5 years ago
Brad Walker 3348930df5
Replace fileutil.ReadDir with ioutil.ReadDir (#7029) (#7033) 6 years ago
Josh Soref 91d76c8023 Spelling (#6517) 6 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326) 6 years ago
陈谭军 103f26d188 fix the wrong word (#6069) 6 years ago
Callum Styan 3344bb5c33 Move WAL watcher code to tsdb/wal package. (#5999) 6 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge. 6 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus 6 years ago
Ganesh Vernekar 7cf09b0395
Moving tsdb into its own subdirectory 6 years ago
Chris Marchbanks b40cc43958 Provide option to compress WAL records (#609) 7 years ago
Krasi Georgiev 288f67efbf
fix some unchecked errors and remove unused vars. (#592) 7 years ago
Krasi Georgiev c3ffdf1a99
Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 7 years ago
Krasi Georgiev 48c439d26d
fix statick check errors (#475) 7 years ago
Krasi Georgiev 2962202ed3
fix windows tests (#469) 7 years ago
Ben a8351dc9d0 Using filepath.Join() instead of strings with slashes (#428) 7 years ago
Chris Marchbanks 2db59a71a6 Fix assert order being backwards in a few places (#388) 7 years ago
Fabian Reinartz 22fd3ef24e Deal with zero-length segments 8 years ago
Fabian Reinartz 1a5573b4ce Migrate write ahead log 8 years ago
Mario Trangoni c0e888e82b fix megacheck issues: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. 8 years ago
Krasi Georgiev eb6cdbcb5b some test funcitons didn't cleanup after themselves. 8 years ago
Nipun 6537ee832c Incorporated review comments 8 years ago
Nipun cadae47522 fixed an issue in TestWALRestoreCorrupted 8 years ago
Fabian Reinartz adb6be73dd move label read function int labels pkg 8 years ago
Callum Styan 8326e410d0 decouple tsdb main.go (and tests) from prometheus/pkg 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 6c8bbf3f61 use test utils in wal_test 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 80055bb95b Truncate segments on broken header 8 years ago
Fabian Reinartz d3682d701c wal: decode and process in separate threads. 8 years ago
Bas Harenslak 5e1c258a98 Instrument WAL fsync 8 years ago
Fabian Reinartz 1e88ba06b4 Use boolean function instead of postings to drop WAL series 8 years ago
Fabian Reinartz 24362567b9 Fix test flakes 8 years ago
Fabian Reinartz 6892fc6dcb Finish old WAL segment async, default to no fsync 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