pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Recent 027_streaming_regress.pl hangs
Date: Thu, 14 Mar 2024 21:00:00 +0300
Message-ID: <b871cdd5-153b-bf91-e24d-fab90394c022@gmail.com> (raw)
In-Reply-To: <CA+hUKGLHUrFnzi4NOcH_WNaVPnjPqPgENY8QjUMSvOPd94QWCQ@mail.gmail.com>
References: <CA+hUKGLc8ceenxyW26m1iY64NY6S7pCUi8KYDOpfkUHdjZ+tKw@mail.gmail.com>
	<CA+hUKGKT4xVVu3MkWm61wJtpyFwBm+fndOwUSDFsJnPY6St9eA@mail.gmail.com>
	<ZfJgb_biCCOF2K3t@paquier.xyz>
	<CA+hUKGLHUrFnzi4NOcH_WNaVPnjPqPgENY8QjUMSvOPd94QWCQ@mail.gmail.com>

Hello Thomas and Michael,

14.03.2024 06:16, Thomas Munro wrote:
>
> Yeah, I was wondering if its checkpoint delaying logic might have
> got the checkpointer jammed or something like that, but I don't
> currently see how.  Yeah, the replay of bulk newpages could be
> relevant, but it's not exactly new technology.  One thing I wondered
> about is whether the Perl "wait for catchup" thing, which generates
> large volumes of useless log, could be somehow changed to actually
> show the progress after some time.  Something like "I'm still waiting
> for this replica to reach LSN X, but it has so far only reported LSN
> Y, and here's a dump of the WAL around there"?

I have perhaps reproduced the issue here (at least I'm seeing something
similar), and going to investigate the issue in the coming days, but what
I'm confused with now is the duration of poll_query_until:
For the failure you referenced:
[15:55:54.740](418.725s) # poll_query_until timed out executing this query:

And a couple of others:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2024-03-08%2000%3A34%3A06
[00:45:57.747](376.159s) # poll_query_until timed out executing this query:

https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2024-03-04%2016%3A32%3A17
[16:45:24.870](407.970s) # poll_query_until timed out executing this query:

Could it be that the timeout (360 sec?) is just not enough for the test
under the current (changed due to switch to meson) conditions?

Best regards,
Alexander





view thread (31+ messages)  latest in thread

Message-ID: <b871cdd5-153b-bf91-e24d-fab90394c022@gmail.com>
Permalink:  ../b871cdd5-153b-bf91-e24d-fab90394c022@gmail.com/
Also on:    postgresql.org/message-id/b871cdd5-153b-bf91-e24d-fab90394c022@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: exclusion@gmail.com, thomas.munro@gmail.com, michael@paquier.xyz
  Subject: Re: Recent 027_streaming_regress.pl hangs
  In-Reply-To: <b871cdd5-153b-bf91-e24d-fab90394c022@gmail.com>
  References: <CA+hUKGLc8ceenxyW26m1iY64NY6S7pCUi8KYDOpfkUHdjZ+tKw@mail.gmail.com> <CA+hUKGKT4xVVu3MkWm61wJtpyFwBm+fndOwUSDFsJnPY6St9eA@mail.gmail.com> <ZfJgb_biCCOF2K3t@paquier.xyz> <CA+hUKGLHUrFnzi4NOcH_WNaVPnjPqPgENY8QjUMSvOPd94QWCQ@mail.gmail.com> <b871cdd5-153b-bf91-e24d-fab90394c022@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox