pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove overzealous VACUUM failsafe assertions.
Date: Mon, 21 Jun 2021 01:15:02 +0000
Message-ID: <E1lv8Wk-0003g9-UE@gemulon.postgresql.org> (raw)

Remove overzealous VACUUM failsafe assertions.

The failsafe can trigger when index processing is already disabled.
This can happen when VACUUM's INDEX_CLEANUP parameter is "off" and the
failsafe happens to trigger.  Remove assertions that assume that index
processing is directly tied to the failsafe.

Oversight in commit c242baa4, which made it possible for the failsafe to
trigger in a two-pass strategy VACUUM that has yet to make its first
call to lazy_vacuum_all_indexes().

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e8f201ab82be234b2f103234cf9f262f9afeaeba

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



Message-ID: <E1lv8Wk-0003g9-UE@gemulon.postgresql.org>
Permalink:  ../E1lv8Wk-0003g9-UE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lv8Wk-0003g9-UE@gemulon.postgresql.org

 · 

reply

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: pg@bowt.ie
  Subject: Re: pgsql: Remove overzealous VACUUM failsafe assertions.
  In-Reply-To: <E1lv8Wk-0003g9-UE@gemulon.postgresql.org>
  References: <E1lv8Wk-0003g9-UE@gemulon.postgresql.org>

* 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