Fix for wrong backend roles on standby after the failover
authorMuhammad Usama <m.usama@gmail.com>
Thu, 14 Jun 2018 08:59:53 +0000 (13:59 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Thu, 14 Jun 2018 08:59:53 +0000 (13:59 +0500)
commit0116131b3897900c4e43c3c41afe5f7cc4abe985
tree63bd2b4bade13703240c02d2ba74fa7691b3eba3
parent83906d1d5024e5f68ef9dd9dff9fda7f5720be4e
Fix for wrong backend roles on standby after the failover

Pgpool standby nodes were getting the "require_backend_sync" signal before the
active/master Pgpool had finish the failover. As a results the standby was
getting the wrong backend node statuses. The cause was a simple coding mistake
where failover indication function was passed with the wrong argument.

Problem reported by Bo Peng <pengbo@sraoss.co.jp>
src/watchdog/wd_commands.c