forked from huawei/openGauss-server
修复hot_standby_feedback关闭后,xmin不推进的问题
This commit is contained in:
parent
07ad2fc0b2
commit
d2e069125e
|
|
@ -1598,7 +1598,10 @@ static void XLogWalRcvSendHSFeedback(void)
|
|||
/* Get updated RecentGlobalXmin */
|
||||
GetSnapshotData(u_sess->utils_cxt.CurrentSnapshotData, true, true);
|
||||
#endif
|
||||
xmin = GetOldestXmin(NULL);
|
||||
if (u_sess->attr.attr_storage.hot_standby_feedback)
|
||||
xmin = GetOldestXmin(NULL);
|
||||
else
|
||||
xmin = InvalidTransactionId;
|
||||
|
||||
/*
|
||||
* Always send feedback message.
|
||||
|
|
|
|||
Loading…
Reference in New Issue