Re: Intermittent buildfarm failures on wrasse
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Geoghegan <pg@bowt.ie>, David Rowley <dgrowleyml@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-04-14T01:23:12Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > On 2022-04-13 20:35:50 -0400, Tom Lane wrote: >> It seems like a SQL-accessible function could be written >> and then called before any problematic VACUUM. I like this better >> for something we're thinking of jamming in post-feature-freeze; >> we'd not be committing to the feature quite as much as if we >> added a VACUUM option. > We could otherwise just disable IOS for that query, for now. The entire point of that test case is to verify the shape of the IOS plan, so no that's not an acceptable answer. But if we're looking for quick hacks, we could do update pg_class set relallvisible = relpages where relname = 'tenk1'; just before that test. I'm still suspicious of the pgstat changes, though. I checked into things here by doing initdb edit postgresql.conf to set log_autovacuum_min_duration = 0 pg_ctl start && make installcheck-parallel and what I see is that the first reported autovacuum activity begins exactly one minute after the postmaster starts, which is what I'd expect given the autovacuum naptime rules. On my machine, of course, the installcheck-parallel run is long gone by then. But even on the much slower wrasse, we should be well past create_index by the time any autovac worker launches --- you can see from wrasse's reported test runtimes that only about 10 seconds have elapsed when it get to the end of create_index. This suggests to me that what is holding the (presumed) conflicting snapshot must be the autovac launcher, because what else could it be? So I'm suspicious that we broke something in that area, though I am baffled why only wrasse would be telling us so. regards, tom lane
Commits
-
Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
- 8d9d1286acf9 14.4 landed
- 8d061acd12af 15.0 landed
- 5fd0cccc116b 13.8 landed
-
Tighten ComputeXidHorizons' handling of walsenders.
- 6fea65508a1a 15.0 landed
-
Adjust VACUUM's removable cutoff log message.
- 357c8455e649 15.0 landed
-
Temporarily add some probes of tenk1's relallvisible in create_index.sql.
- 5bb2b6abc8d6 15.0 landed
-
Set synchronous_commit=on in test_setup.sql.
- 02fea8fdda65 15.0 cited
-
Rearrange core regression tests to reduce cross-script dependencies.
- cc50080a828d 15.0 cited
-
snapshot scalability: Don't compute global horizons while building snapshots.
- dc7420c2c927 14.0 cited