7 Commits (7e2c6fc8f3e0e42927325bdac623ea848575a66e)

Author SHA1 Message Date
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926) 1 year ago
Michal Biesek 04d7b4dbee
lint: Fix `SA1019` Using a deprecated function 1 year ago
Justin Lei 32d87282ad
Add Zstandard compression option for wlog (#11666) 1 year ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 2 years ago
Jesus Vazquez 775d90d5f8
TSDB: Rename wal package to wlog (#11352) 2 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
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
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 4 years ago
Ganesh Vernekar 2255b6f62f
Refactor WAL.Segments method to be part of the wal package (#6477) 4 years ago
Julien Pivotto 62805b2fe9
tsdb: test for leaks (#7566) 4 years ago
Julien Pivotto 73228b1b68 Those links should not be reverted 5 years ago
Julien Pivotto 653f343547 Revert head posting optimization 5 years ago
Julien Pivotto 52630ad0c7 Make head Postings only return series in time range 5 years ago
Josh Soref 91d76c8023 Spelling (#6517) 5 years ago
Dipack P Panjabi ce7bab04dd Compute WAL size and use it during retention size checks (#5886) 5 years ago
陈谭军 103f26d188 fix the wrong word (#6069) 5 years ago
johncming 612f9cb361 tsdb/wal: pull out wal metrics separately as tsdb.DB (#5957) 5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge. 5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus 5 years ago
Ganesh Vernekar 7cf09b0395
Moving tsdb into its own subdirectory 5 years ago
Krasi Georgiev 6f9bbc7253
Open db in Read only mode (#588) 5 years ago
Chris Marchbanks b40cc43958 Provide option to compress WAL records (#609) 6 years ago
Krasi Georgiev 3549c097b4
add some comments for the different WAL repair tests (#630) 6 years ago
Callum Styan 562e93e8e6 Always create a new clean segment when starting the WAL. (#608) 6 years ago
Callum Styan bce663e1d9 Export the current segment index as a metic. (#601) 6 years ago
Krasi Georgiev 5512826f13
make Close methods for the querier safe to call more than once. (#581) 6 years ago
Krasi Georgiev c3ffdf1a99
Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 6 years ago
Goutham Veeramachaneni 10d395259b Avoid creation of 0 sized segments. (#527) 6 years ago
Tom Wilkie 77d5a7d47a
LiveReader can get into an infinite loop on corrupt WALs. (#524) 6 years ago
Tom Wilkie bc3b0bd429
Test to corrupt segments mid-WAL, repair and check we can read the correct number of records. (#528) 6 years ago
Callum Styan 3929359302
add live reader for WAL (#481) 6 years ago
Krasi Georgiev 2962202ed3
fix windows tests (#469) 6 years ago
Krasi Georgiev 48efdf8b81
refactor NewSegmentsRangeReader to take multi WAL ranges (#449) 6 years ago
Krasi Georgiev 24520727a4
return an error when the last wal segment record is torn. (#451) 6 years ago
Krasi Georgiev 3385571ddf
buffer-panic when reading a record after recPageTerm (#429) 6 years ago
Camille Janicki 0ce41118ed Add msg parameter to Equals function in testutil (#398) 6 years ago
Goutham Veeramachaneni 9c8ca47399
Fix filehandling for windows (#392) 6 years ago
Goutham Veeramachaneni c7d0d10da4
Make sure WAL Repair can handle wrapped errors 6 years ago
Fabian Reinartz 449a2d0db7 wal: add segment type and repair procedure 6 years ago
Fabian Reinartz 8e1f97fad4 wal: add write ahead log package 6 years ago