<div dir="ltr">Hi,<div><br></div><div>I've managed to do some bisecting today, and I can say with quite high confidence that the issue is introduced with these 2 commits:</div><div>1ae1f159b89f4d18a8f7b737929e9a6448ad63ab Add new fields to show pool_nodes command and friends.<br></div><div>6de0d264be66ce145d3ed726235920401cf74ebe Fix pcp_node_info failure when backend is down.<br></div><div><br></div><div>When running the tests with the first commit, pgpool fails to start at that point in the test. I suspect the second commit fixes that, but since that point, all builds got stuck on the pcp_node_info call. In between there's another commit that updates some docs (8e8ecaced44ec9e6322023729c427bcfa732deda), but that should not be relevant to this issue. I hope this info helps you pinpoint the exact problem.</div><div><br></div><div>Best regards,</div><div>Emond</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 24, 2022 at 8:23 AM Emond Papegaaij <<a href="mailto:emond.papegaaij@gmail.com">emond.papegaaij@gmail.com</a>> wrote:<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>Unfortunately, the patch doesn't help. The call to pcp_node_info still hangs. I do however see a difference in the pgpool log. The pcp worker only logs a single line:</div><div><br></div><div>2022-01-24 05:26:37: pid 81: LOG:  forked new pcp worker, pid=211 socket=7<br></div><div>2022-01-24 05:26:47: pid 211: LOG:  failed to connect to PostgreSQL server on "<a href="http://172.29.30.2:5432" target="_blank">172.29.30.2:5432</a>", timed out<br></div><div><br></div><div>After this, there's no mention of pid 211. No log messages from that pid, but also not from pid 81 (which I would expect to log the PCP process to exit).</div><div><br></div><div>Best regards,</div><div>Emond</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 22, 2022 at 2:15 PM Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Thank you for your reply.<br>
<br>
I think it is a particular issue of 4.3.0.<br>
Another developer, Tatsuo Ishii, has created a patch that fixes this issue. <br>
Could you check the attached patch if you can apply this patch?<br>
<br>
Best regards,<br>
<br>
On Fri, 21 Jan 2022 14:10:05 +0100<br>
Emond Papegaaij <<a href="mailto:emond.papegaaij@gmail.com" target="_blank">emond.papegaaij@gmail.com</a>> wrote:<br>
<br>
> ><br>
> > > We are working on the upgrade from 4.2.6 to 4.3.0 and we are facing a<br>
> >> test<br>
> >> > that is failing consistently. In one of our tests we powerdown 2 of the<br>
> >> 3<br>
> >> > hosts with a hard poweroff. Prior to the poweroff, we configure the<br>
> >> cluster<br>
> >><br>
> >> Thank you for reporting this issue.<br>
> >> I am going to look into it.<br>
> >> Does this issue only occur in 4.3.0?<br>
> ><br>
> ><br>
> > Thanks for looking into this. As often is the case with these kinds of<br>
> > errors, I cannot be absolutely sure, but I haven't seen this error before<br>
> > with 4.2.6 or earlier. We skipped 4.2.7, as the release notes state it was<br>
> > only for PG14 support, which we don't need at the moment.<br>
> ><br>
> > To report back on this. We've ran 11 consecutive builds with 4.3.0, all<br>
> failing on this issue. I've check the past 40 or so build with 4.2.6 and<br>
> none of them failed. So this is definitely a regression in 4.3.0. Do you<br>
> already have an idea on the cause of this? If not, I can try to perform a<br>
> bisect on the diff between 4.2.6 and 4.3.0. This will however take me some<br>
> time, as every build takes about 2 hours. Git expects about 8 revisions to<br>
> check, so that's 2 whole working days.<br>
> <br>
> Best regards,<br>
> Emond<br>
<br>
<br>
-- <br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
SRA OSS, Inc. Japan<br>
<a href="http://www.sraoss.co.jp/" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/</a><br>
</blockquote></div>
</blockquote></div>