[pgpool-committers: 7315] pgpool: Fix segfault in child pgpool process in certain failback case.

Tatsuo Ishii ishii at sraoss.co.jp
Sun Dec 13 11:41:21 JST 2020


Fix segfault in child pgpool process in certain failback case.

When previous primary node id is 0 and then it went down, restarted,
re-attached without promotion. Then existing child process loses
connection slot to node 0 and keeps on using it when node 0 comes
back. This could result in segfault later on in the child process
because there's no connection to node id 0. In summary we need to
restart all pgppol children in this case.

Per bug 672.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=294363c027ea0d9d4f62b8c4910b159a788ae831

Modified Files
--------------
src/main/pgpool_main.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list