From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-committers@postgresql.org, "Bossart, Nathan" <bossartn@amazon.com>
Subject: Re: pgsql: When VACUUM or ANALYZE skips a concurrently dropped table, log i
Date: Wed, 06 Dec 2017 12:57:26 -0500
Message-ID: <28614.1512583046@sss.pgh.pa.us> (raw)
In-Reply-To: <E1eLxJZ-0002HB-02@gemulon.postgresql.org>
References: <E1eLxJZ-0002HB-02@gemulon.postgresql.org>
Robert Haas <rhaas@postgresql.org> writes:
> When VACUUM or ANALYZE skips a concurrently dropped table, log it.
When this went in, I was pretty skeptical of the value of an isolation
test for it, but said nothing. However, I now observe that the isolation
test is falling over on buildfarm machines with -DCLOBBER_CACHE_ALWAYS.
The buildfarm reports are a bit hard to interpret, but it's easy to
reproduce locally, and what I get is
$ more output_iso/regression.diffs
*** /home/postgres/pgsql/src/test/isolation/expected/vacuum-concurrent-drop.out
Mon Dec 4 17:02:55 2017
--- /home/postgres/pgsql/src/test/isolation/output_iso/results/vacuum-concurrent-drop.out Wed Dec 6 12:07:37 2017
***************
*** 49,54 ****
--- 49,55 ----
COMMIT;
step analyze_all: <... completed>
+ error in steps drop_and_commit analyze_all: ERROR: canceling statement due to user request
starting permutation: lock vac_analyze_specified drop_and_commit
step lock:
======================================================================
What appears to be happening is that a database-wide ANALYZE takes more
than a minute under CLOBBER_CACHE_ALWAYS, causing isolationtester.c's
hardwired one-minute timeout to trigger.
While you could imagine doing something to get around that, I do not
believe that this test is worth memorializing in perpetuity to begin
with. I'd recommend just taking it out again.
regards, tom lane
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: tgl@sss.pgh.pa.us, rhaas@postgresql.org, bossartn@amazon.com
Subject: Re: pgsql: When VACUUM or ANALYZE skips a concurrently dropped table, log i
In-Reply-To: <28614.1512583046@sss.pgh.pa.us>
References: <E1eLxJZ-0002HB-02@gemulon.postgresql.org> <28614.1512583046@sss.pgh.pa.us>
* 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