| From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
|---|---|
| To: | Adesh Thakare <adeshthakare10(at)gmail(dot)com> |
| Cc: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, "T, Adesh" <adeshdb(at)amazon(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Postmaster PANIC on a standby with slot synchronization enabled |
| Date: | 2026-12-02 21:59:57 |
| Message-ID: | CAD21AoBXDBjr0DggF_n9K=qG57d=Y2Vbt5ujoQY8Lenjv3umBQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Dec 1, 2026 at 5:40 PM Adesh Thakare <adeshthakare10(at)gmail(dot)com> wrote:
>
> Hi,
> On Wed, Nov 25, 2026 at 4:23 PM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
>
> I think it's better to limit the use of the new function to the
> postmaster. IsUnderPostmater is false also in a standalone backend.
>
> Done. ValidateSlotSyncParams() now uses IsLogicalDecodingEnabledNoLock()
> only when IsPostmasterEnvironment && !IsUnderPostmaster.
>
> I'm not sure we need this check. Logical decoding can be disabled right
> after this check too, so it doesn't close the race.
>
> Agreed, removed. Bharath, I know you asked to keep it; I went with the
> smaller change since this is going back to v19.
> v6 is also rebased on current master; v4 no longer applied after
> 4931dab89d3. 0002 is still the test, not for commit.
Thank you for updating the patch! I've pushed the fix.
Regards,
--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Henson Choi | 2026-12-02 22:01:37 | Re: Speed up tuplestore_seek() by starting from the nearest known position |
| Previous Message | Prashant Chinnam | 2026-12-02 21:42:02 | Re: [PATCH] pgcrypto: Fix sha-crypt rounds= values that do not fit in int (BUG #19743) |