提交 fa14caff 编写于 作者: dengyihao's avatar dengyihao

enh(rpc):add auth

上级 b7cb019d
...@@ -886,9 +886,11 @@ void cliAppCb(SCliConn* pConn, STransMsg* transMsg) { ...@@ -886,9 +886,11 @@ void cliAppCb(SCliConn* pConn, STransMsg* transMsg) {
STrans* pTransInst = pThrd->pTransInst; STrans* pTransInst = pThrd->pTransInst;
if (transMsg->code == TSDB_CODE_RPC_REDIRECT && pTransInst->retry != NULL) { if (transMsg->code == TSDB_CODE_RPC_REDIRECT && pTransInst->retry != NULL) {
// impl retry SMEpSet emsg = {0};
tDeserializeSMEpSet(transMsg->pCont, transMsg->contLen, &emsg);
pTransInst->retry(pTransInst, transMsg, &(emsg.epSet));
} else { } else {
(*pTransInst->cfp)(pTransInst->parent, transMsg, NULL); pTransInst->cfp(pTransInst->parent, transMsg, NULL);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册