Re: [HACKERS] Apparent race condition in standby promotion

2016-05-03 Thread Noah Misch
On Mon, Apr 25, 2016 at 02:09:27PM -0400, Tom Lane wrote: > I'm looking at buildfarm member tern's recent failure: > http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=tern&dt=2016-04-25%2001%3A08%3A08 > # Running: pg_ctl -D > /home/nm/farm/gcc32/HEAD/pgsql.build/src/bin/pg_rewind/tmp_check/d

[HACKERS] Apparent race condition in standby promotion

2016-04-25 Thread Tom Lane
I'm looking at buildfarm member tern's recent failure: http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=tern&dt=2016-04-25%2001%3A08%3A08 The perl script thinks it's started the postmaster and sent a promote signal, then it's waited 90 seconds for the postmaster to come out of standby: ###