standby fails with out-of-order XID insertion

Поиск
Список
Период
Сортировка
От Radoslav Nedyalkov
Тема standby fails with out-of-order XID insertion
Дата
Msg-id CANhtRiZM-g7BU7XmCLG5+Md8xk6E7D8chqc+T=zrUydO4cD4bg@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi all,
So we have master(pg11.8) and standbyA(pg11.11), 24T data, quite busy data-warehouse on Amazon Linux.
We've built a standbyB(pg11.11) by creating basebackup  from standbyA and collecting wals from the master.
When  basebackup completed we started recovery from collected wals.
When standbyB caught-up we tried to switch to streaming.
1. created slot on the master
2. activated slot (with short pg_receivewal invocation)
3. did a checkpoint on the master (not sure why)
4. cancelled pg_receivewal.
5. stopped the standbyB and started it. Startup fails with 
FATAL:  out-of-order XID insertion in KnownAssignedXids
More log attached.

after switching back to log-shipping same error occurs.

Any clues why/what is the error ?

Thanks and regards,
Radoslav
Вложения

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

Предыдущее
От: Laurent FAILLIE
Дата:
Сообщение: Re: Looking for some help with HA / Log Log-Shipping
Следующее
От: "Jain, Ankit"
Дата:
Сообщение: RE: Issues with using plpgsql debugger using PG13 on Centos 7