All Questions
Postgresql hard

A cluster is configured with `synchronous_commit = remote_apply`. What guarantee is provided to the client application once a COMMIT returns successfully?

  1. A The transaction in the WAL buffer has been verified using a cryptographic checksum on the primary.
  2. B The data is written to the primary's WAL and is visible to local read queries on the leader node.
  3. C The changes have been replayed and applied to the replica, making them visible to standby readers.
  4. D The replica has acknowledged receipt of the TCP packet containing the transaction log segment.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions