Merge pull request #6402 from asvdf/master

docs: warn about selecting synchronous replication mode [skip ci]
This commit is contained in:
asvdf 2022-04-19 20:20:10 +02:00 committed by GitHub
parent 3133154538
commit 1e04f191a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,3 +41,7 @@ db.postgres.timeout=0
```
Connection timeout is disabled, to account for situations where the database
might be slow for unexpected reasons.
## Important note about replication
In case a replication architecture is planned, streaming replication should be avoided, as the master does not verify the replica is indeed identical, but it will only forward the edits queue, and let the slave catch up autonomously; synchronous mode, albeit slower, is paramount for `lnd` data integrity across the copies, as it will finalize writes only after the slave confirmed successful replication.