"Zwettler Markus (OIZ)" <Markus.Zwettler@xxxxxxxxxx> wrote on 2019/11/08 11:02:49 AM:
> From: "Zwettler Markus (OIZ)" <Markus.Zwettler@xxxxxxxxxx>
> To: Brad Nicholson <bradn@xxxxxxxxxx>
> Cc: Adrian Klaver <adrian.klaver@xxxxxxxxxxx>, "pgsql-
> general@xxxxxxxxxxxxxxxxxxxx" <pgsql-general@xxxxxxxxxxxxxxxxxxxx>
> 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.