Re: Replication sequence

Поиск
Список
Период
Сортировка
От Paolo Saudin
Тема Re: Replication sequence
Дата
Msg-id CADtZQgnra2OUtMR9Q=mT_3obtySvbF63741s8Rk6P=ce+s7ypA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Replication sequence  (Jehan-Guillaume de Rorthais <jgdr@dalibo.com>)
Список pgsql-general
Thank you!

Il giorno mar 16 feb 2021 alle ore 13:38 Jehan-Guillaume de Rorthais <jgdr@dalibo.com> ha scritto:
On Tue, 16 Feb 2021 13:10:54 +0100
Paolo Saudin <paolosaudin@gmail.com> wrote:

> Il giorno mar 16 feb 2021 alle ore 10:51 Jehan-Guillaume de Rorthais <
>  [...] 
>
>  [...] 
>  [...] 
>  [...] 
>  [...] 
>  [...] 
>  [...] 
>  [...] 
>
> Thank you very much!
> So in case the primary server crashes, and the backup one gets live, it
> will eventually have different sequences.

No. You will just have a gap in the sequence, on both side.

And if you decided to promote your standby to production, you'll have to resync
the old primary anyway.

> I suppose there is no way to
> avoid this, isnt'it?

You can't avoid gap.


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

Предыдущее
От: Mutuku Ndeti
Дата:
Сообщение: PostgreSQL Replication
Следующее
От: Raul Giucich
Дата:
Сообщение: Re: PostgreSQL Replication