Re: pg_rewind success even though getting error 'record withincorrect prev-link'

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_rewind success even though getting error 'record withincorrect prev-link'
Дата
Msg-id 20190130014408.GM3121@paquier.xyz
обсуждение исходный текст
Ответ на pg_rewind success even though getting error 'record with incorrect prev-link'  (Abdullah Al Maruf <maruf.2hin@gmail.com>)
Ответы Re: pg_rewind success even though getting error 'record withincorrect prev-link'  (Abdullah Al Maruf <maruf.2hin@gmail.com>)
Список pgsql-general
On Tue, Jan 29, 2019 at 07:13:11PM +0600, Abdullah Al Maruf wrote:
> When I try to attach an old master with 'archiving set to on` as a new
> standby, `pg_rewind` doesn't throw any error, But, when the database
> starts, The following error appears:
>
> ```
> LOG:  invalid record length at 0/B000098: wanted 24, got 0
> LOG:  started streaming WAL from primary at 0/B000000 on timeline 2
> LOG:  record with incorrect prev-link 10000/21B0000 at 0/B000098
> FATAL:  terminating walreceiver process due to administrator command

This is pointing out to the end of WAL for the current timeline.  You
may face it after reading a WAL segment in an area which has been used
in the past for a recycled segment.
--
Michael

Вложения

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

Предыдущее
От: pabloa98
Дата:
Сообщение: Re: postgresql v11.1 Segmentation fault: signal 11: by runningSELECT... JIT Issue?
Следующее
От: Wells Oliver
Дата:
Сообщение: Querying w/ join slow for large/many child tables