Re: vacuum_defer_cleanup_age inconsistently applied on replicas - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: vacuum_defer_cleanup_age inconsistently applied on replicas
Date
Msg-id CAH2-WzmZOwcc3m-d+E9Q-h24gJqm2suUvuNAWnLC5_5=f8q8_w@mail.gmail.com
Whole thread Raw
In response to Re: vacuum_defer_cleanup_age inconsistently applied on replicas  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
On Fri, Apr 3, 2020 at 4:18 PM Peter Geoghegan <pg@bowt.ie> wrote:
> OTOH, I wonder if it's possible that vacuum_defer_cleanup_age was
> deliberately intended to affect the behavior of
> XLogWalRcvSendHSFeedback(), which is probably one of the most common
> reasons why GetOldestXmin() is called on standbys.

Pressed "send" too soon. vacuum_defer_cleanup_age *doesn't* get
applied when recovery is in progress, so that definitely can't be
true.

Another hint that vacuum_defer_cleanup_age is only really supposed to
be used on the primary is the fact that it appears under "18.6.1.
Master Server" in the 9.1 docs.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: vacuum_defer_cleanup_age inconsistently applied on replicas
Next
From: Nikita Glukhov
Date:
Subject: Re: Ltree syntax improvement