Re: Recent pg_rewind test failures in buildfarm
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org, Michael Paquier <michael@paquier.xyz>
Date: 2025-04-15T05:50:32Z
Lists: pgsql-hackers
Hi, On Tue, Apr 15, 2025 at 08:00:00AM +0300, Alexander Lakhin wrote: > Hello Tom, > > 15.04.2025 05:58, Tom Lane wrote: > > In the last day or so, both skink and mamba have hit this > > in the pg_rewind test suite [1][2]: > > > > #3 0x01f03f7c in ExceptionalCondition (conditionName=conditionName@entry=0x2119c4c "pending_since == 0", fileName=fileName@entry=0x2119454 "pgstat.c", lineNumber=lineNumber@entry=734) at assert.c:66 > > ... > > > > That assert appears to be several years old, and the > > 008_min_recovery_point.pl test script that's triggering it hasn't > > changed very recently either, so I'm baffled where to start digging. > > It has the odor of a timing problem, so maybe we just started hitting > > this by chance. Still ... anybody have an idea? Sorry, can't look at the details right now but it might be linked to 039549d70f6 which is recent enough and in this area. Will give it a look once I've time. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Remove assertion based on pending_since in pgstat_report_stat()
- c1201ffcfbc1 15.13 landed
- e9ab8677bfc5 16.9 landed
- 4b6331e0fd57 17.5 landed
- 1f7878c33cab 18.0 landed