Re: Safe switchover

From: James Sewell <james(dot)sewell(at)jirotech(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Safe switchover
Date: 2020-07-10 07:18:36
Message-ID: CAANVwEu1AoiMe9ao0adaNjfW4TTT5ay7VoRUL6+9He18jg-ugQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> - open connection to database
> - smart shutdown master
> - terminate all other connections
> - wait for shutdown (archiving will finish)
>

OK despite what it looked like from the code - upon testing it seems like
even a fast shutdown will wait for logs to be archived *as long as progress
is being made* (the same as smart).

--
The contents of this email are confidential and may be subject to legal or
professional privilege and copyright. No representation is made that this
email is free of viruses or other defects. If you have received this
communication in error, you may not copy or distribute any part of it or
otherwise disclose its contents to anyone. Please advise the sender of your
incorrect receipt of this correspondence.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Förster 2020-07-10 07:45:27 Re: Safe switchover
Previous Message Vishwa Kalyankar 2020-07-10 06:50:52 Postgresql-12 taking more time to execute the query