Re: Disallow cancellation of waiting for synchronous replication
| От | Tom Lane |
|---|---|
| Тема | Re: Disallow cancellation of waiting for synchronous replication |
| Дата | |
| Msg-id | 10144.1576876780@sss.pgh.pa.us обсуждение |
| Ответ на | Disallow cancellation of waiting for synchronous replication (Andrey Borodin <x4mmm@yandex-team.ru>) |
| Ответы |
Re: Disallow cancellation of waiting for synchronous replication
Re: Disallow cancellation of waiting for synchronous replication |
| Список | pgsql-hackers |
Andrey Borodin <x4mmm@yandex-team.ru> writes:
> I think proper solution here would be to add GUC to disallow cancellation of synchronous replication.
This sounds entirely insane to me. There is no possibility that you
can prevent a failure from occurring at this step.
> Three is still a problem when backend is not canceled, but terminated [2].
Exactly. If you don't have a fix that handles that case, you don't have
anything. In fact, you've arguably made things worse, by increasing the
temptation to terminate or "kill -9" the nonresponsive session.
regards, tom lane
В списке pgsql-hackers по дате отправления: