Refactor Restore()
This commit refactors out the complexity of downloading ordered WAL files in parallel to a type called `WALDownloader`. This makes it easier to test the restore separately from the download.
This commit is contained in:
BIN
testdata/wal-time-bounds/ok/generations/0000000000000000/wal/00000000/00000000.wal.lz4
vendored
Normal file
BIN
testdata/wal-time-bounds/ok/generations/0000000000000000/wal/00000000/00000000.wal.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/wal-time-bounds/ok/generations/0000000000000000/wal/00000000/00000001.wal.lz4
vendored
Normal file
BIN
testdata/wal-time-bounds/ok/generations/0000000000000000/wal/00000000/00000001.wal.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/wal-time-bounds/ok/generations/0000000000000000/wal/00000001/00000000.wal.lz4
vendored
Normal file
BIN
testdata/wal-time-bounds/ok/generations/0000000000000000/wal/00000001/00000000.wal.lz4
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user