Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muzFR-00076G-UO for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Dec 2021 15:52:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1muzFQ-0006lC-Kp for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Dec 2021 15:52:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muzFP-0006ku-Vh for pgsql-hackers@lists.postgresql.org; Wed, 08 Dec 2021 15:52:48 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1muzFL-0000vW-W4 for pgsql-hackers@lists.postgresql.org; Wed, 08 Dec 2021 15:52:47 +0000 Received: by mail-pl1-x62c.google.com with SMTP id u11so1792530plf.3 for ; Wed, 08 Dec 2021 07:52:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Z6AjpFBNSh7mCa1tQLtXJ3pKI4Oe+XXTni9fQD5OIhU=; b=j5q8pF98hxApNPIOSG+5cAnWTnBU55RH2ZQxjH58Z3/q5c8xjEjFS7KXHmSBd3+N7H hFr7rCYFGRyUBsx8qBb9TMUjJVBaLdZ6OVFxo70CuEcs5wHrDGnDyvpBRlv/BfO3MoqN M/qiVgAMqWMO9mSEkMvb8lrxNdQ5muM5OZiiRdp7/kRn1Yfq8vP/1Q4fjTDXDybRyrkT yR+Gu1xqPqsExdt9gs+8PcLhJ2Q6zJJC7XkSGeguPSmxBt3TRQWRwe/W0jGuGN5qlnpk kYM9L5B+tVxeuGR1DH2zLRT4jf7k20KLh8+fKAW20u8TNQCTMuhfOL9MO9GSj3igDmhi 6C3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Z6AjpFBNSh7mCa1tQLtXJ3pKI4Oe+XXTni9fQD5OIhU=; b=D0Ewz69UoBg1v1PVa7wvcKhxI6ap3e6JEKfxQ68bwLaxfFUplDQLFT6/AbuFxaJIax dvz1qYTPopptaDSRK9UMdE3h7be1UZxb60p5b1+aUyHK58hBThJlGsy27TVmqVizIsuu txAI61gpjrVEkWcrTlvuOoZhARAtMcRRCgOld9285GidGEnptx35NLNUmIyQQtZGKbNt LAXVQIBewppHgrH5M8ty7ApicNkflAzzVO+lTqgAcU5uumCcrGIq2trvtQP3M01iGj+O 5k/5MxqE13eJFAATZ3KB0ZQmqd/UZqthTfCvJ4XXSVGC5Foa4QXWy2E9eigas9l/1xa6 YINQ== X-Gm-Message-State: AOAM531XCtK+mbniTIwIAKKXBc2fGAendiFwGfyO+AlQEGpRGYmB1uiI K72/Prezg1hfqW7bAc+LrsrmxhABDfX0hRC+ykkYHtnK4KYS5W4zcrOG5WcFYRP/QD92qBzZjre 05mqPOIB3H4gniLo+XyEgdwfxVP6HtLDoS745Sa1+z09RWwXSQJ5toQfphGg9t8GDR2miq1D5Oq 8Ym/GkXgfMLKzkSksUJkuFiH9yiG/zeF6Fjg1Im21VyjPEpaRtIEW+ X-Google-Smtp-Source: ABdhPJwG3FB1QGxqzNQeANEFGecTiFHo0jdNIuJSj0MWqnerIVAbtr9IZEJpIW1n50qVPOpJty6/Bg== X-Received: by 2002:a17:90a:fe84:: with SMTP id co4mr8056123pjb.211.1638978761759; Wed, 08 Dec 2021 07:52:41 -0800 (PST) Received: from laptop280-ma-us.hitronhub.home (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id gc22sm6501080pjb.57.2021.12.08.07.52.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Dec 2021 07:52:41 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: Optionally automatically disable logical replication subscriptions on error From: Mark Dilger In-Reply-To: Date: Wed, 8 Dec 2021 07:52:40 -0800 Cc: Greg Nancarrow , "osumi.takamichi@fujitsu.com" , vignesh C , Masahiko Sawada , "Smith, Peter" , PostgreSQL Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <0F1C18FF-79C6-4FEC-B602-9B967A89DBB9@enterprisedb.com> References: <92A72C94-42DC-4873-8CBD-95518154E4B3@enterprisedb.com> To: Amit Kapila X-Mailer: Apple Mail (2.3608.120.23.2.7) X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Dec 8, 2021, at 5:10 AM, Amit Kapila = wrote: >=20 > 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. =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company