Re: AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth

From: "Brad Nicholson" <bradn(at)ca(dot)ibm(dot)com>
To: "Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth
Date: 2019-11-08 16:17:26
Message-ID: OF68B9B686.4E1A74AF-ON852584AC.00596246-852584AC.00597CDB@notes.na.collabserv.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch> wrote on 2019/11/08
11:02:49 AM:

> From: "Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch>
> To: Brad Nicholson <bradn(at)ca(dot)ibm(dot)com>
> Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-
> general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)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
scipt.

Use the switchover functionality in Patroni first, and gate youur shutdown
via systemd on the success of that operation.

Brad.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zwettler Markus (OIZ) 2019-11-08 16:27:00 AW: AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth
Previous Message Zwettler Markus (OIZ) 2019-11-08 16:02:49 AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth