Re: [HACKERS] [COMMITTERS] pgsql: Replication lag tracking for walsenders

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: [HACKERS] [COMMITTERS] pgsql: Replication lag tracking for walsenders
Дата
Msg-id CAEepm=1-QRkb3Y+hO+tQVyKqH9dp0GVVWkMmsMDy1izpVZ4XLw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] [COMMITTERS] pgsql: Replication lag tracking for walsenders  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: [HACKERS] [COMMITTERS] pgsql: Replication lag tracking for walsenders
Список pgsql-hackers
On Sat, Apr 22, 2017 at 9:13 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> On 22 April 2017 at 06:45, Thomas Munro <thomas.munro@enterprisedb.com> wrote:
>
>> Thanks.  I'm away from my computer right now but will investigate this
>> and send a fix later today.
>
> Thanks. I'll review later today.

The assertion fails reliably for me, because standby2's reported write
LSN jumps backwards after the timeline changes: for example I see
3020000 then 3028470 then 3020000 followed by a normal progression.
Surprisingly, 004_timeline_switch.pl reports success anyway.  I'm not
sure why the test fails sometimes on tern, but you can see that even
when it passed on tern the assertion had failed.

Here is a fix for the assertion failure.

-- 
Thomas Munro
http://www.enterprisedb.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: [HACKERS] WITH clause in CREATE STATISTICS
Следующее
От: Pierre Ducroquet
Дата:
Сообщение: Re: [HACKERS] Small patch for pg_basebackup argument parsing