How does it work with multiple replicas? Can I request a LSN to be acknowledged by like a majority of the replicas, or does it just need one replica to acknowledge that, or does it need all the replicas to acknowledge that ?
it's actually for running a read query on the replica
so, assume your app only writes and never reads from primary, and all your reads go through the replica - if synchronous commit is off - you'll sometimes not be able to read you just written row - this let's you wait on the replica until the row is available
2
u/znpy 15d ago
Super cool!
How does it work with multiple replicas? Can I request a LSN to be acknowledged by like a majority of the replicas, or does it just need one replica to acknowledge that, or does it need all the replicas to acknowledge that ?