mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
Merge pull request #6402 from asvdf/master
docs: warn about selecting synchronous replication mode [skip ci]
This commit is contained in:
parent
3133154538
commit
1e04f191a1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user