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:
0
testdata/max-index/no-snapshots/generations/0000000000000000/.gitignore
vendored
Normal file
0
testdata/max-index/no-snapshots/generations/0000000000000000/.gitignore
vendored
Normal file
BIN
testdata/max-index/no-wal/generations/0000000000000000/snapshots/00000000.snapshot.lz4
vendored
Normal file
BIN
testdata/max-index/no-wal/generations/0000000000000000/snapshots/00000000.snapshot.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/max-index/no-wal/generations/0000000000000000/snapshots/00000001.snapshot.lz4
vendored
Normal file
BIN
testdata/max-index/no-wal/generations/0000000000000000/snapshots/00000001.snapshot.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/max-index/ok/generations/0000000000000000/snapshots/00000000.snapshot.lz4
vendored
Normal file
BIN
testdata/max-index/ok/generations/0000000000000000/snapshots/00000000.snapshot.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/max-index/ok/generations/0000000000000000/snapshots/00000001.snapshot.lz4
vendored
Normal file
BIN
testdata/max-index/ok/generations/0000000000000000/snapshots/00000001.snapshot.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/max-index/ok/generations/0000000000000000/wal/00000000/00000000.wal.lz4
vendored
Normal file
BIN
testdata/max-index/ok/generations/0000000000000000/wal/00000000/00000000.wal.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/max-index/ok/generations/0000000000000000/wal/00000000/00001234.wal.lz4
vendored
Normal file
BIN
testdata/max-index/ok/generations/0000000000000000/wal/00000000/00001234.wal.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/max-index/ok/generations/0000000000000000/wal/00000001/00000000.wal.lz4
vendored
Normal file
BIN
testdata/max-index/ok/generations/0000000000000000/wal/00000001/00000000.wal.lz4
vendored
Normal file
Binary file not shown.
BIN
testdata/max-index/ok/generations/0000000000000000/wal/00000002/00000000.wal.lz4
vendored
Normal file
BIN
testdata/max-index/ok/generations/0000000000000000/wal/00000002/00000000.wal.lz4
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user