Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iT76J-0007Lb-VH for pgsql-general@arkaria.postgresql.org; Fri, 08 Nov 2019 16:27:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iT76I-0004Jx-Or for pgsql-general@arkaria.postgresql.org; Fri, 08 Nov 2019 16:27:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iT76I-0004Jq-7f for pgsql-general@lists.postgresql.org; Fri, 08 Nov 2019 16:27:06 +0000 Received: from mx2.stadt-zuerich.ch ([194.56.33.11]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iT76E-0000BH-V7 for pgsql-general@lists.postgresql.org; Fri, 08 Nov 2019 16:27:05 +0000 X-IronPort-AV: E=Sophos;i="5.68,282,1569276000"; d="scan'208,217";a="35812124" Received: from unknown (HELO SZHM27375.global.szh.loc) ([10.7.49.70]) by mx2.prm.szh.zone with ESMTP/TLS/AES256-GCM-SHA384; 08 Nov 2019 17:27:01 +0100 Received: from SZHM27370.global.szh.loc (10.7.50.50) by SZHM27375.global.szh.loc (10.7.49.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 8 Nov 2019 17:27:00 +0100 Received: from SZHM27370.global.szh.loc ([fe80::25ce:879f:5795:3325]) by SZHM27370.global.szh.loc ([fe80::25ce:879f:5795:3325%10]) with mapi id 15.01.1713.004; Fri, 8 Nov 2019 17:27:00 +0100 From: "Zwettler Markus (OIZ)" To: Brad Nicholson CC: Adrian Klaver , "pgsql-general@lists.postgresql.org" Subject: AW: AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth Thread-Topic: AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth Thread-Index: AdWVcgVjAYaHSdMNTcaqvXVaKV5EKwAAlFEAAAJ2vJD///IAgP//7MlggAAesYD//+zFwIAAJ3qA//6s9nAAV70tgP//7mnw///YIwD//52uYA== Date: Fri, 8 Nov 2019 16:27:00 +0000 Message-ID: References: <0613f7e85acf4972837408cfc6260387@zuerich.ch> <436fa29a-0803-a511-206c-fd8c0086c50f@aklaver.com> <03dc57f7107f432d872bb00ddaa1a093@zuerich.ch> <26aad343-c08d-d53d-9788-c592450ce438@aklaver.com> <954fe6896a9645d6a597c0c743e28f7f@zuerich.ch> <9984e05af67d48bdaf730a934e63c513@zuerich.ch> <5c019721473149aeabaaf7bd552f7e0d@zuerich.ch> <99a30851a68b41c5bcd77653417f21b5@zuerich.ch> In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.7.48.249] Content-Type: multipart/alternative; boundary="_000_c0bc128b5b584a379b3834f22a9c7664zuerichch_" MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_c0bc128b5b584a379b3834f22a9c7664zuerichch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable How exactly? Please clarify. "Zwettler Markus (OIZ)" > wrote on 2019/11/08 11:02:49 AM: > From: "Zwettler Markus (OIZ)" > > To: Brad Nicholson > > Cc: Adrian Klaver >, "pgsql- > general@lists.postgresql.org" > > Date: 2019/11/08 11:02 AM > Subject: [EXTERNAL] AW: AW: AW: AW: AW: broken backup trail in > case of quickly patroni switchback and forth > > Let me clarify: "But, it might start killing processes after a > certain period if a _fast_ shutdown after SIGTERM didn't happen". > > I am talking about stopping the Patroni master process with a systemd sci= pt. Use the switchover functionality in Patroni first, and gate youur shutdown = via systemd on the success of that operation. Brad. --_000_c0bc128b5b584a379b3834f22a9c7664zuerichch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

How exactly= ? Please clarify.

 =

 

"Zwettler Marku= s (OIZ)" <Markus.Zwettler= @zuerich.ch> wrote on 2019/11/08 11:02:49 AM:

> From: "Zwettler Markus (OIZ)" <
Markus.Zwettler@zuerich.ch>
> To: Brad Ni= cholson <bradn@ca.ibm.com>=
> Cc: Adrian = Klaver <adrian.klaver@aklaver.co= m>, "pgsql-
>
general@lists.postgresq= l.org" <pgsql-gene= ral@lists.postgresql.org>
> Date: 2019/= 11/08 11:02 AM
> Subject: [E= XTERNAL] AW:  AW:  AW: AW: AW: broken backup trail in
> case of quickly patroni switchback and forth

>
> Let me clarify: "But, it might start killing processes after = a
> certain period if a _fast_ shutdown after SIGTERM didn't happen&qu= ot;.

>  
> I am talking about stopping the P= atroni master process with a systemd scipt.


Use the switchover functionality in Pa= troni first, and gate youur shutdown via systemd on the success of that ope= ration.

Brad.

--_000_c0bc128b5b584a379b3834f22a9c7664zuerichch_--