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:20:57 +0000 (19:20 +0500)
commite9309ba94b8f18e2e6ea7342ea02dc7b6f8f1488
tree82913abaa34d47fc4a3e223ca8105406c9e5b8c7
parent3889f69832f8f588e59e639143e135b1140f1e72
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