Re: WIP: Failover Slots

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: WIP: Failover Slots
Дата
Msg-id CAMsr+YEmoZhyGgtB+BK7s08BzzEfuBC_2Z7C5JtfFkf-NyLXLw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: Failover Slots  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
On 20 January 2016 at 21:02, Craig Ringer <craig@2ndquadrant.com> wrote:
 
TL;DR: this doesn't work yet, working on it.

Nothing is logged on slot creation because ReplicationSlot->data.failover is never true. Once that's fixed by - for now - making all slots failover slots, there's a crash in XLogInsert because of the use of reserved bits in the XLogInsert info argument. Fix pushed.

I also noticed that slot drops seem are being logged whether or not the slot is a failover slot. Pushed a fix for that.

The WAL writing is now working. I've made improvements to the rmgr xlogdump support to make it clearer what's written.

Slots are still not visible on the replica so there's work to do tracing redo, promotion, slot handling after starting from a basebackup, etc. The patch is still very much WIP.

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

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

Предыдущее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: Batch update of indexes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: checkpointer continuous flushing