Re: Patroni & PostgreSQL issue

Поиск
Список
Период
Сортировка
От Abdul Sayeed
Тема Re: Patroni & PostgreSQL issue
Дата
Msg-id CAHb=FFyN1CjioDikkw4BcxCwovQiPpT=4VCiS9HQUCMDGCxZAA@mail.gmail.com
обсуждение исходный текст
Ответ на Patroni & PostgreSQL issue  ("Sankar, Uma (Uma)" <usankar@avaya.com>)
Ответы RE: [External]Re: Patroni & PostgreSQL issue  ("Menon, Deepak (Deepak)" <menond@avaya.com>)
Список pgsql-general
Hi Uma,

If i understand your scenario correct, after failover, Patroni created deleted files on old primary by replciating from New primary?

If that is correct, i would recommend to check lag between new primary and old primary(now slave). if it is zero then we are good to perform failover.


Regards,
Abdul Sayeed 

On Wed, Jul 20, 2022 at 5:29 PM Sankar, Uma (Uma) <usankar@avaya.com> wrote:

Hi All,

 

This is regarding the Postgres HA working with patroni in 3 node setup, we have an issue with the primary because a few database files were deleted manually so performed a switch over to move the services from primary to secondary with patroni, post the switchover was deleted file was re-created by itself in the old primary.

 

Now we are planning to switch back the services from secondary(Leader) to primary(replica) as the deleted files were re-created itself, can someone please suggest if this works normally when we switch back to promote primary as the leader and secondary as a replica.

 

 

Regards,

Uma Sankar

 



--
Thanks & Regards,
Abdul Sayeed
PostgreSQL DBA 
Postgres Professional Certified
Skype: abdul.sayeed24

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Batch process
Следующее
От: Marc Millas
Дата:
Сообщение: Re: postgis