From: Michael Paquier <michael@paquier.xyz>
To: Tomas Vondra <tomas.vondra@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Forget the prefetcher's current record in XLogPrefetcherBeginRea
Date: Fri, 20 Nov 2026 14:44:53 +0900
Message-ID: <av_eVdzADOxQUVzO@paquier.xyz> (raw)
In-Reply-To: <E1xU6nR-00000000PmY-1etg@gemulon.postgresql.org>
References: <E1xU6nR-00000000PmY-1etg@gemulon.postgresql.org>
On Thu, Nov 19, 2026 at 06:23:46PM +0000, Tomas Vondra wrote:
> Forget the prefetcher's current record in XLogPrefetcherBeginRead()
>
> XLogPrefetcherBeginRead() reset the decoder's record queue, but not
> prefetcher->record, whose block references XLogPrefetcherNextBlock()
> examines. The next read then continued with the remaining block
> references of that stale record, before decoding the record at the new
> read position.
Since this commit, the buildfarm is unstable on various branches for
various hosts, for branches up to 17. Two examples:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=longfin&dt=2026-11-20%2005%3A13%3A08https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=indri&dt=2026-11-20%2005%3A00%3A27
And here is your failure, from the logs of the standby host in test
061:
2026-11-20 00:07:37.476 EST [33350:1] LOG: invalid value for
parameter "maintenance_io_concurrency": 1
2026-11-20 00:07:37.476 EST [33350:2] DETAIL:
"maintenance_io_concurrency" must be set to 0 on platforms that lack
posix_fadvise().
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-committers@postgresql.org
Cc: michael@paquier.xyz, tomas.vondra@postgresql.org
Subject: Re: pgsql: Forget the prefetcher's current record in XLogPrefetcherBeginRea
In-Reply-To: <av_eVdzADOxQUVzO@paquier.xyz>
References: <E1xU6nR-00000000PmY-1etg@gemulon.postgresql.org> <av_eVdzADOxQUVzO@paquier.xyz>
* 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