Re: How can end users know the cause of LR slot sync delays? - Mailing list pgsql-hackers

From shveta malik
Subject Re: How can end users know the cause of LR slot sync delays?
Date
Msg-id CAJpy0uDr4wagHLyLmhq1w7HWzAdi5f7MkoHLK3b9Bem_697wJg@mail.gmail.com
Whole thread Raw
In response to Re: How can end users know the cause of LR slot sync delays?  (Shlok Kyal <shlok.kyal.oss@gmail.com>)
Responses Re: How can end users know the cause of LR slot sync delays?
List pgsql-hackers
On Thu, Nov 27, 2025 at 9:25 AM Shlok Kyal <shlok.kyal.oss@gmail.com> wrote:
>
> I have made some minor changes in documentation and comments. Attached
> the updated patch.
>

1)
<literal>NULL</literal> if
       slot synchronization is successful.

We shall add 'It is' to maintain continuity as the previous sentence has it.

2)
Related to previous patch: pgstat_report_replslotsync() currently has
sanity check Assert(SlotIsLogical(slot));
Instead, shall we have Assert(slot->synced)? It will implicitly ensure
that the slot is logical, plus it is important to check that we are
updating stats of synced slot only.

thanks
Shveta



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Move WAL/RMGR sequence code into its own file and header
Next
From: Fujii Masao
Date:
Subject: Re: Allow GUC settings in CREATE SUBSCRIPTION CONNECTION to take effect