fix deadlock

This commit is contained in:
Jeff Tao 2020-06-16 12:03:36 +00:00
parent 646b5e53a7
commit 4e87a28e8d
1 changed files with 1 additions and 1 deletions

View File

@ -1240,7 +1240,7 @@ static void rpcProcessRetryTimer(void *param, void *tmrId) {
tTrace("%s, failed to send msg:%s to %s:%hu", pConn->info, taosMsg[pConn->outType], pConn->peerFqdn, pConn->peerPort);
if (pConn->pContext) {
pConn->pContext->code = TSDB_CODE_RPC_NETWORK_UNAVAIL;
rpcProcessConnError(pConn->pContext, NULL);
taosTmrStart(rpcProcessConnError, 0, pContext, pRpc->tmrCtrl);
rpcReleaseConn(pConn);
}
}