From: | Radoslav Nedyalkov <rnedyalkov(at)gmail(dot)com> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | standby fails with out-of-order XID insertion |
Date: | 2021-03-31 15:51:48 |
Message-ID: | CANhtRiZM-g7BU7XmCLG5+Md8xk6E7D8chqc+T=zrUydO4cD4bg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
Attachment | Content-Type | Size |
---|---|---|
fatal.txt | text/plain | 5.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jain, Ankit | 2021-03-31 15:58:51 | RE: Issues with using plpgsql debugger using PG13 on Centos 7 |
Previous Message | Laurent FAILLIE | 2021-03-31 15:38:58 | Re: Looking for some help with HA / Log Log-Shipping |