Allow read replication recovery from last position

This commit is contained in:
Ben Johnson
2022-04-03 09:18:54 -06:00
parent 2c3e28c786
commit 44662022fa
8 changed files with 361 additions and 56 deletions

View File

@@ -0,0 +1,5 @@
addr: :10002
dbs:
- path: $LITESTREAM_TEMPDIR/0/db
max-checkpoint-page-count: 10

View File

@@ -0,0 +1,5 @@
dbs:
- path: $LITESTREAM_TEMPDIR/1/db
upstream:
url: "$LITESTREAM_UPSTREAM_URL"
path: "$LITESTREAM_TEMPDIR/0/db"