Strange error message in xlog.c

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Strange error message in xlog.c
Дата
Msg-id CAKPRHzJHSEgdon_Dgqe5bE33wiM2_mFVijywXTDoSVNMsb_qUQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
Hello,

I had an trouble report that the reporter had the following error
messages.

FATAL:  XX000: requested timeline 175 is not a child of this server's history
DETAIL:  Latest checkpoint is at 1A/D6000028 on timeline 172, but in
the history of the requested timeline, the server forked off from that
timeline at 1C/29074DB8.

This message doesn't make sense. Perhaps timeline 172 started
after 1A/D6000028 instead.

The attached patch makes the error messages for both cases make sense.

FATAL:  requested timeline 4 is not a child of this server's history
DETAIL:  Latest checkpoint is at 0/3000060 on timeline 2, but in the
history of the requested timeline, the server forked off from that
timeline at 0/22000A0.

FATAL:  requested timeline 4 is not a child of this server's history
DETAIL:  Latest checkpoint is at 0/3000060 on timeline 2, but in the
history of the requested timeline, the server entered that timeline at
0/40000A0.

Intentional corruption of timeline-history is required to
exercise this. Do we need to do that regression test?

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Вложения

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

Предыдущее
От: "Jamison, Kirk"
Дата:
Сообщение: RE: [PATCH] Speedup truncates of relation forks
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: SQL/JSON path issues/questions