Merge branch 'feature/wal' of https://github.com/taosdata/TDengine into feature/wal

This commit is contained in:
Shengliang Guan 2020-11-17 03:03:57 +00:00
commit 5342c811aa
1 changed files with 2 additions and 1 deletions

View File

@ -152,8 +152,9 @@ void dnodeCleanupClient() {
static void dnodeProcessRspFromDnode(SRpcMsg *pMsg, SRpcEpSet *pEpSet) {
if (dnodeGetRunStatus() != TSDB_RUN_STATUS_RUNING) {
if (pMsg == NULL || pMsg->pCont == NULL) return;
dDebug("msg:%p is ignored since dnode not running", pMsg);
rpcFreeCont(pMsg->pCont);
dDebug("RPC %p, msg:%s is ignored since dnode not running", pMsg->handle, taosMsg[pMsg->msgType]);
return;
}