<div dir="ltr">Hi all,<div><br></div><div>I've done some additional investigation and I'm quite confident that this is the change that is causing the problems:</div><div><a href="https://github.com/pgpool/pgpool2/commit/a2a86804cb838b416f317cc083d521a5c691f2ec">https://github.com/pgpool/pgpool2/commit/a2a86804cb838b416f317cc083d521a5c691f2ec</a><br></div><div><br></div><div>The other changes between 4.5.0 and 4.5.1 seem only related to defaults for settings, which we both set explicitly:</div><div>failover_on_backend_shutdown = on<br></div><div>recovery_user = 'keyhub'</div><div><br></div><div>We use streaming replication without load balancing:</div><div>backend_clustering_mode = 'streaming_replication'<br></div><div>load_balance_mode = off<br></div><div>statement_level_load_balance = off<br></div><div><br></div><div>Switching back to 4.5.0 fixes the issue.</div><div><br></div><div>Best regards,</div><div>Emond</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op wo 27 mrt 2024 om 09:36 schreef Emond Papegaaij <<a href="mailto:emond.papegaaij@gmail.com">emond.papegaaij@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>After upgrading from 4.5.0 to 4.5.1 we see lots of regressions in our test-suite when failovers are involved with the following exception in WildFly:</div><div>Caused by: org.postgresql.util.PSQLException: ERROR: unable to read message kind from backend<br>  Detail: 0 th backend is not valid<br></div><div><br></div><div>I'm not sure what is causing this, but I've got the feeling that pgpool keeps trying to send queries to a database that not available. I've attached logging from pgpool. You can find the first error at 04:10:16 (or 2024-03-27T03:10:16.735933246Z pgpool timestamp).</div><div><br></div><div>Best regards,</div><div>Emond</div></div>
</blockquote></div>