On Wed, Jan 13, 2021 at 6:28 PM Ajin Cherian <itsajin@gmail.com> wrote:
> I added the below log:
Small correction, I sent the wrong code change for logging, this was
the correct one:
@@ -5976,6 +5977,14 @@ xact_redo_abort(xl_xact_parsed_abort *parsed,
TransactionId xid)
StandbyReleaseLockTree(xid, parsed->nsubxacts,
parsed->subxacts);
}
+ if (parsed->xinfo & XACT_XINFO_HAS_ORIGIN)
+ {
+ /* recover apply progress */
+ replorigin_advance(origin_id, parsed->origin_lsn, lsn,
+ false /* backward
*/, false /* WAL */);
+ elog(LOG,"recover apply progress in red abort");
+ }
+
regards,
Ajin Cherian
Fujitsu Australia