提交 d9122f25 编写于 作者: A Ashwin Agrawal

UnpackCheckPointRecord() should happen on QE similar to QD.

Now, that wal replication is enabled for QD and QE the code must be enabled.
上级 7f361f5a
......@@ -6969,19 +6969,10 @@ StartupXLOG(void)
LastRec = RecPtr = checkPointLoc;
/*
* Currently, standby mode (WAL based replication support) is not provided
* to segments.
* Hence it's okay to do the following only once on the segments as there
* will be only one checkpoint to be analyzed.
*/
if (!IS_QUERY_DISPATCHER())
{
CheckpointExtendedRecord ckptExtended;
UnpackCheckPointRecord(record, &ckptExtended);
if (ckptExtended.ptas)
SetupCheckpointPreparedTransactionList(ckptExtended.ptas);
}
CheckpointExtendedRecord ckptExtended;
UnpackCheckPointRecord(record, &ckptExtended);
if (ckptExtended.ptas)
SetupCheckpointPreparedTransactionList(ckptExtended.ptas);
/*
* Find Xacts that are distributed committed from the checkpoint record and
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册