forbid use gsc in fenced udf mode

This commit is contained in:
yanghao
2023-09-15 14:41:21 +08:00
parent f6052e4804
commit 7c74605d38

View File

@ -147,6 +147,10 @@ void ResetDeepthInAcceptInvalidationMessage(int value)
static bool SwitchToSessionSysCache()
{
/* fenced mode not use gsc */
if (FencedUDFMasterMode) {
return true;
}
if (
#ifdef ENABLE_MULTIPLE_NODES
/* ts code dont use gsc */
@ -1214,4 +1218,4 @@ void TryFreshSmgrCache(struct SMgrRelationData *smgr)
smgr->xact_seqno = t_thrd.lsc_cxt.xact_seqno;
/* reset it and so caller will reload smgr_targblock */
smgr->smgr_targblock = InvalidBlockNumber;
}
}