Re: BUG #15346: Replica fails to start after the crash

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: BUG #15346: Replica fails to start after the crash
Дата
Msg-id 3B69F535-FD81-461B-97E9-657D4C99EDB4@anarazel.de
обсуждение исходный текст
Ответ на Re: BUG #15346: Replica fails to start after the crash  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: BUG #15346: Replica fails to start after the crash  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-bugs

On August 28, 2018 11:44:09 AM GMT+09:00, Michael Paquier <michael@paquier.xyz> wrote:
>On Sat, Aug 25, 2018 at 09:54:39AM +0200, Alexander Kukushkin wrote:
>> Why the number of tuples in the xlog is greater than the number of
>> tuples on the index page?
>> Because this page was already overwritten and its LSN is HIGHER than
>> the current LSN!
>
>That's annoying.  Because that means that the control file of your
>server maps to a consistent point which is older than some of the
>relation pages.  How was the base backup of this node created?  Please
>remember that when taking a base backup from a standby, you should
>backup the control file last, as there is no control of end backup with
>records available.  So it seems to me that the origin of your problem
>comes from an incorrect base backup expectation?

Uh, where is that "control file last" bit coming from?

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #15347: Unaccent for greek characters does not work
Следующее
От: Alexander Kukushkin
Дата:
Сообщение: Re: BUG #15346: Replica fails to start after the crash