fix(stream): add one more check.

This commit is contained in:
Haojun Liao 2023-08-22 15:52:29 +08:00
parent af80d94a88
commit 000e39aa18
1 changed files with 1 additions and 1 deletions

View File

@ -2197,7 +2197,7 @@ static int32_t mndProcessNodeCheckReq(SRpcMsg *pMsg) {
taosHashCleanup(changeInfo.pDBMap); taosHashCleanup(changeInfo.pDBMap);
// keep the new vnode snapshot // keep the new vnode snapshot
if (code == TSDB_CODE_SUCCESS) { if (code == TSDB_CODE_SUCCESS || code == TSDB_CODE_ACTION_IN_PROGRESS) {
taosArrayDestroy(execNodeList.pNodeEntryList); taosArrayDestroy(execNodeList.pNodeEntryList);
execNodeList.pNodeEntryList = pNodeSnapshot; execNodeList.pNodeEntryList = pNodeSnapshot;
execNodeList.ts = ts; execNodeList.ts = ts;