Re: Safe switchover

Поиск
Список
Период
Сортировка
От James Sewell
Тема Re: Safe switchover
Дата
Msg-id CAANVwEu1AoiMe9ao0adaNjfW4TTT5ay7VoRUL6+9He18jg-ugQ@mail.gmail.com
обсуждение исходный текст
Ответ на Safe switchover  (James Sewell <james.sewell@jirotech.com>)
Ответы Re: Safe switchover  (Paul Förster <paul.foerster@gmail.com>)
Список 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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Vishwa Kalyankar
Дата:
Сообщение: Postgresql-12 taking more time to execute the query
Следующее
От: Paul Förster
Дата:
Сообщение: Re: Safe switchover