Re: Disallow cancellation of waiting for synchronous replication

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Disallow cancellation of waiting for synchronous replication
Дата
Msg-id 4bd1f7f109231181ba204387aa94c38916f8768f.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Disallow cancellation of waiting for synchronous replication  (Marco Slot <marco@citusdata.com>)
Ответы Re: Disallow cancellation of waiting for synchronous replication  (Andrey Borodin <x4mmm@yandex-team.ru>)
Список pgsql-hackers
On Sat, 2019-12-21 at 11:34 +0100, Marco Slot wrote:
> The GUCs are not re-checked in the main loop in SyncRepWaitForLSN, so
> backends will remain stuck there even if synchronous replication has
> been (temporarily) disabled while they were waiting.

If you do:

  alter system set synchronous_standby_names='';
  select pg_reload_conf();

it will release the backends waiting on sync rep.

Regards,
    Jeff Davis





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

Предыдущее
От: Alexey Kondratov
Дата:
Сообщение: Re: Physical replication slot advance is not persistent
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: Speedup usages of pg_*toa() functions