Re: Optionally automatically disable logical replication subscriptions on error

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>
Cc: Greg Nancarrow <gregn4422(at)gmail(dot)com>, "osumi(dot)takamichi(at)fujitsu(dot)com" <osumi(dot)takamichi(at)fujitsu(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, "Smith, Peter" <peters(at)fast(dot)au(dot)fujitsu(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Optionally automatically disable logical replication subscriptions on error
Date: 2021-12-09 04:09:53
Message-ID: CAA4eK1+pVmSgPDgarBJszv61e-jeONAA5yctg-BeR4HF_Fi_0A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 8, 2021 at 9:22 PM Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com> wrote:
>
>
> > On Dec 8, 2021, at 5:10 AM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> >
> > I think if we are really worried about transient errors then probably
> > the idea "disable only if the same error has occurred more than X
> > times" seems preferable as compared to taking a decision on which
> > error_codes fall in the transient error category.
>
> No need. We can revisit this design decision in a later release cycle if the current patch's design proves problematic in the field.
>

So, do you agree that we can disable the subscription on any error if
this parameter is set?

--
With Regards,
Amit Kapila.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-12-09 04:58:24 Re: Non-superuser subscription owners
Previous Message Neha Sharma 2021-12-09 03:12:59 Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints