forked from huawei/openGauss-server
!1712 【bugfix】修复hot_standby_feedback关闭后,xmin不推进的问题
Merge pull request !1712 from li_jianqiu/2.0.0
This commit is contained in:
commit
4c803975b9
|
|
@ -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