Is pg_last_wal_replay_lsn() a sufficient read-after-write barrier on a PolarDB for PostgreSQL replica?
I want to understand whether a client can use an LSN comparison to guarantee read-after-write consistency on a shared-storage PolarDB for PostgreSQL read-only replica. Consider two connections to the same database: connection A goes directly to the primary, and connection B goes directly to one specific read-only replica. Both connections bypass the cluster proxy, and B stays on the same replica throughout the sequence below. The replica shares the primary's storage. The Enterprise Edition overview describes shared storage and LSN-based read consistency at the cluster endpoint. The Standard Ed
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.