提交 4e87a28e 编写于 作者: 陶建辉(Jeff)'s avatar 陶建辉(Jeff)

fix deadlock

上级 646b5e53
......@@ -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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册