Re: hot_standby_feedback implementation - Mailing list pgsql-general

From Christophe Pettus
Subject Re: hot_standby_feedback implementation
Date
Msg-id CD8D4757-ECC0-4CBA-9E26-A07617670249@thebuild.com
Whole thread Raw
In response to Re: hot_standby_feedback implementation  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-general

> On Jun 15, 2021, at 17:30, Peter Geoghegan <pg@bowt.ie> wrote:
> It pretty much works by making the WAL sender process on the primary
> look like it holds a snapshot that's as old as the oldest snapshot on
> the replica.
>
> A replica can block VACUUM on the primary *directly* by holding a
> table-level lock, though in practice only when somebody on the replica
> acquires an AccessExclusiveLock -- which is presumably rare in
> practice.

Thank you!  Attempting to track down a sudden burst of every session waiting on lock_manager LW locks, and part of that
isfinding the source of locks. 


pgsql-general by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: hot_standby_feedback implementation
Next
From: Dipanjan Das
Date:
Subject: pg_basebackup fails with "COPY stream ended"