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:
Ben Johnson
2022-01-04 14:47:11 -07:00
parent 531e19ed6f
commit 3f0ec9fa9f
130 changed files with 2943 additions and 1254 deletions

8
testdata/Makefile vendored Normal file
View File

@@ -0,0 +1,8 @@
.PHONY: default
default:
make -C find-latest-generation/ok
make -C generation-time-bounds/ok
make -C generation-time-bounds/snapshots-only
make -C replica-client-time-bounds/ok
make -C snapshot-time-bounds/ok
make -C wal-time-bounds/ok