On 11/20/26 06:44, Michael Paquier wrote: > 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%3A08 > https://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(). > --
Yes, this was discussed in [1]. I just pushed a fix, so that the test is skipped on platforms without posix_fadvise (on 15-17). thanks [1] https://postgr.es/m/cahgqgwhqkzvpcd9_rdsbm_y7inkzdqamm8cbgzkvaxcsp60...@mail.gmail.com -- Tomas Vondra
