Re: Issue with logical replication slot during switchover

Поиск
Список
Период
Сортировка
От Alexander Kukushkin
Тема Re: Issue with logical replication slot during switchover
Дата
Msg-id CAFh8B=nM8mHpSPhVb5aGLf9nAeGWCci2Nn=QEV1+QLtUp1rX7g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Issue with logical replication slot during switchover  (Fabrice Chapuis <fabrice636861@gmail.com>)
Ответы Re: Issue with logical replication slot during switchover
Список pgsql-hackers


On Tue, 4 Nov 2025 at 12:15, Fabrice Chapuis <fabrice636861@gmail.com> wrote:
Hi Alexander,
I understand your use case but I think it won't work like this because of how is implemented get_local_synced_slots()
this function will return slots which synced flag to true only. 

Yeah. Sorry, my bad, you are absolutely right about get_local_synced_slots() function.
I didn't validate this part of the patch, because first I wanted to get feedback from hackers.
However, it looks like the people who build it never run Postgres in production and therefore don't understand the problem and the pain.
I will probably just add yet another workaround to Patroni and start dropping logical replication slots on standby with failover=true and synced=false.

--
Regards,
--
Alexander Kukushkin

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