RE: Fix slotsync worker busy loop causing repeated log messages - Mailing list pgsql-hackers

From Zhijie Hou (Fujitsu)
Subject RE: Fix slotsync worker busy loop causing repeated log messages
Date
Msg-id TYRPR01MB14195D4C2B45E2DC986A3E7B294592@TYRPR01MB14195.jpnprd01.prod.outlook.com
Whole thread Raw
In response to Re: Fix slotsync worker busy loop causing repeated log messages  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Friday, April 10, 2026 5:53 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
> On Fri, Apr 10, 2026 at 8:28 AM Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com>
> wrote:
> >
> >
> > Perhaps we could simply compare the slot's old and new LSN/xmin to
> > determine whether updated_xmin_or_lsn needs to be set.
> >
> 
> The patch works for me. Can we change the comment to as follows: "It is
> possible that the slot's xmin or LSNs are not updated, when the synced slot
> has reached consistent snapshot state or cannot build the one at all."?

Changed as suggested.

Here are the patches for both HEAD and back branches.

Best Regards,
Hou zj

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: EXCEPT TABLE - Case inconsistency for describe \d and \dRp+
Next
From: Jim Jones
Date:
Subject: Re: Fix bug with accessing to temporary tables of other sessions