Re: WIP: Failover Slots

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: WIP: Failover Slots
Дата
Msg-id CAMsr+YF+wm=5X3miDEGFmwxH1a8KcLyRq-F8oGDV2A-GhmfTPQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: Failover Slots  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: WIP: Failover Slots  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Hi all

Here's v2 of the failover slots patch. It replicates a logical slot to a physical streaming replica downstream, keeping the slots in sync. After the downstream is promoted a client can replay from the logical slot.

UI to allow creation of non-failover slots is pending.

There's more testing to do to cover all the corners: drop slots, drop and re-create, name conflicts between downstream !failover slots and upstream failover slots, etc.

There's also a known bug where WAL isn't correctly retained for a slot where that slot was created before a basebackup which I'll fix in a revision shortly.

I'm interested in ideas on how to better test this.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Вложения

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: pg_lsn cast to/from int8
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgbench stats per script & other stuff