fix(stream): add one more check.
This commit is contained in:
parent
af80d94a88
commit
000e39aa18
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue