Disallowing the quorum aware failover option for the native replication mode.
authorMuhammad Usama <m.usama@gmail.com>
Tue, 18 Feb 2020 12:23:10 +0000 (17:23 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Tue, 18 Feb 2020 14:21:50 +0000 (19:21 +0500)
commit5a6e7572137f5e106bd11ded847a52b5294d21c8
tree99d4b56427227fa6302a0b57c20258c69cf9040e
parentae7068ae4cb5cf2111071177c0d609ffb947fbb7
Disallowing the quorum aware failover option for the native replication mode.

In native replication mode, Pgpool-II is responsible for replicating the data
on all backend nodes, and if a node becomes quarantined then Pgpool-II stops
sending the writes to that node and when that quarantined node becomes available
again there is no way to figure out which portion of data was not replicated
during the quarantine period. This is dangerous since it can cause
data inconsistency.

So as per the discussion, we reached the conclusion to disallow failover require
consensus and quorum existence with the native replication mode so that backend
node should never get into quarantine when Pgpool-II is configured in the
replication mode.
doc/src/sgml/watchdog.sgml
src/config/pool_config_variables.c
src/sample/pgpool.conf.sample-replication