Commit Graph

63 Commits (227d155e3f7455186c10c8ff00d1647e941d6513)

Author SHA1 Message Date
Sunil Thaha a484a83d4a
fix: panic when checkpoint directory is empty (#9687)
3 years ago
Mateusz Gozdek f4650c27e7 tsdb/wal: fix flaky TestReaderFuzz* tests
3 years ago
Björn Rabenstein 4c56a193c5
Merge pull request #9478 from prometheus/beorn7/pkg-deprecation
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
beorn7 a1e595edac Fix two trivial lint warnings
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
johncming b882d2b7c7
tsdb/wal: Avoid writing closed channel. (#9566)
3 years ago
chenlujjj d18e42c650
refine comments of Checkpoint function (#9655)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Praveen Ghuge 64d9b41998
Use testing.T.TempDir() instead of ioutil.TempDir() in tsdb/wal unit tests (#9602)
3 years ago
Julien Pivotto 73255e15f6 Address golint failures from revive
3 years ago
Ganesh Vernekar ee7e0071d1
Snapshot in-memory chunks on shutdown for faster restarts (#7229)
3 years ago
Bryan Boreham 60804c5a09
remote_write: reduce blocking from garbage-collect of series (#9109)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
ide-rea ef584a9df6
Improve wal.go segments sequential validation (#8859)
4 years ago
Callum Styan 8fd73b1d28
Add Exemplar Remote Write support (#8296)
4 years ago
Chris Marchbanks 7c7dafc321
Do not snappy encode if record is too large (#8790)
4 years ago
Guangwen Feng 7985c4e6af Fix golint issue caused by typo
4 years ago
jinglina 431ea75a11
remove redundant type conversion (#8692)
4 years ago
Chris Marchbanks bedcd88343
Compress records before checking segment size (#8501)
4 years ago
Li Zhijian 9602933db2
Cleanup tempfiles in tests (#8179)
4 years ago
Marco Pracucci 63be30dcee
Fixed WAL corruption on partial writes within a page (#8125)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Brian Brazil 073e93c768
Gracefully handle unknown WAL record types. (#8004)
4 years ago
zhulongcheng 5ea6bdca1f
tsdb: sync temporary checkpoint directory before rename (#7004)
4 years ago
Ganesh Vernekar 2255b6f62f
Refactor WAL.Segments method to be part of the wal package (#6477)
4 years ago
gastonqiu 5a7d398d19
Chore: Log segment number when segment read failed (#7687)
4 years ago
Julien Pivotto 62805b2fe9
tsdb: test for leaks (#7566)
4 years ago
Zhou Hao ddedf454d0
add os.RemoveAll err verification (#7540)
4 years ago
Ganesh Vernekar ea013343ca
Log when starting to create a checkpoint (#7581)
4 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
Brad Walker 3348930df5
Replace fileutil.ReadDir with ioutil.ReadDir (#7029) (#7033)
5 years ago
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
Ganesh Vernekar e64a149984
Close Head in DBReadOnly.FlushWAL (#7022)
5 years ago
zhulongcheng e813f60fd6
tsdb: fix sequence check for WAL segments (#7032)
5 years ago
Julien Pivotto f1984bb007
Merge pull request #7025 from prometheus/release-2.17
5 years ago
Callum Styan f802f1e8ca
Fix bug with WAL watcher and Live Reader metrics usage. (#6998)
5 years ago
zhulongcheng 5f5c7a4477
tsdb: sort checkpoints by segment number (#6987)
5 years ago
李国忠 261cbab8e9
remove Unused parameter 'reg' in wal.Open function (#6941)
5 years ago
Julien Pivotto 52630ad0c7 Make head Postings only return series in time range
5 years ago
johncming c30abf1e2b tsdb/wal: remove unused argument.
5 years ago
John McBride 669592a2c4 Exports metric for WAL write errors (#6647)
5 years ago
Julien Pivotto 201491fd1b Remove old checkpoint dir if it still exists (#6621)
5 years ago
Brian Brazil 536d416299
Fix tsdb code and tests to work on Windows. (#6547)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Callum Styan 6a24eee340 Simplify duration check for watcher WAL replay.
5 years ago
Callum Styan 2d3ce3916c Log the start and end of the WAL replay within the WAL watcher.
5 years ago