Re: Switching timeline over streaming replication
От | Thom Brown |
---|---|
Тема | Re: Switching timeline over streaming replication |
Дата | |
Msg-id | CAA-aLv79wuJDZCG+F-mO_Ap__VKUqiO2GQ-dEAS=ohFeU5SbNg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Switching timeline over streaming replication (Heikki Linnakangas <hlinnakangas@vmware.com>) |
Список | pgsql-hackers |
On 21 December 2012 18:13, Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
-- On 21.12.2012 01:50, Thom Brown wrote:> ...Now I'm getting this on all standbys after promoting the first standby in a
chain.Sigh. I'm sounding like a broken record, but I just committed another fix for this, should work now.
> TRAP: FailedAssertion("!(((sentPtr)<= (SendRqstPtr)))", File:
> "walsender.c", Line: 1425)
Thanks Heikki. Just quickly retested with a new set of 120 standbys and all looks fine as far as the logs are concerned:
LOG: replication terminated by primary server
DETAIL: End of WAL reached on timeline 1
LOG: record with zero length at 0/37902A0
LOG: fetching timeline history file for timeline 2 from primary server
LOG: restarted WAL streaming at 0/3000000 on timeline 1
LOG: replication terminated by primary server
DETAIL: End of WAL reached on timeline 1
LOG: new target timeline is 2
LOG: restarted WAL streaming at 0/3000000 on timeline 2
LOG: replication terminated by primary server
DETAIL: End of WAL reached on timeline 2
LOG: record with zero length at 0/643E248
LOG: fetching timeline history file for timeline 3 from primary server
LOG: restarted WAL streaming at 0/6000000 on timeline 2
LOG: replication terminated by primary server
DETAIL: End of WAL reached on timeline 2
LOG: new target timeline is 3
LOG: restarted WAL streaming at 0/6000000 on timeline 3
LOG: replication terminated by primary server
DETAIL: End of WAL reached on timeline 3
LOG: record with zero length at 0/6BB13A8
LOG: fetching timeline history file for timeline 4 from primary server
LOG: restarted WAL streaming at 0/6000000 on timeline 3
LOG: replication terminated by primary server
DETAIL: End of WAL reached on timeline 3
LOG: new target timeline is 4
LOG: restarted WAL streaming at 0/6000000 on timeline 4
Thom
В списке pgsql-hackers по дате отправления: