Re: Issue with logical replication slot during switchover
От | shveta malik |
---|---|
Тема | Re: Issue with logical replication slot during switchover |
Дата | |
Msg-id | CAJpy0uBbJusLXu_f0exVUVUP440=eO3oaqLLpH3i13JHU4=fGw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Issue with logical replication slot during switchover (shveta malik <shveta.malik@gmail.com>) |
Список | pgsql-hackers |
On Wed, Aug 13, 2025 at 11:34 AM shveta malik <shveta.malik@gmail.com> wrote: > > On Fri, Aug 8, 2025 at 7:01 PM Fabrice Chapuis <fabrice636861@gmail.com> wrote: > > > Another problem as you pointed out is inconsistent behaviour across > switchovers. On the first switchover, we get the error on new standby: > "Exiting from slot synchronization because a slot with the same name > already exists on the standby." > > But in the case of a double switchover, this error does not occur. > This is due to the 'synced' flag not set on new standby on first > switchover while set in double switchover. I think the behaviour > should be the same. In both cases, it should emit the same error. We > are thinking of a potential solution here and will start a new thread > if needed. > Started a thread [1] for this issue. [1]: https://www.postgresql.org/message-id/flat/CAJpy0uBJqTQdq%2BUDW55oK2bhxMig%3DFaEYFV%3D%2BZaKmtmgNWwsHw%40mail.gmail.com thanks Shveta
В списке pgsql-hackers по дате отправления: