add config
This commit is contained in:
parent
3ab4726651
commit
fd6e1c5aab
|
@ -1832,7 +1832,8 @@ int32_t cliHandleState_mayUpdateState(SCliConn* pConn, SCliReq* pReq) {
|
||||||
SReqState state = {.conn = pConn, .arg = NULL};
|
SReqState state = {.conn = pConn, .arg = NULL};
|
||||||
code = taosHashPut(pThrd->pIdConnTable, &qid, sizeof(qid), &state, sizeof(state));
|
code = taosHashPut(pThrd->pIdConnTable, &qid, sizeof(qid), &state, sizeof(state));
|
||||||
if (code != 0) {
|
if (code != 0) {
|
||||||
tDebug("%s conn %p failed to statue, sid:%" PRId64 "", transLabel(pThrd->pInst), pConn, qid);
|
tDebug("%s conn %p failed to statue, sid:%" PRId64 " since %s", transLabel(pThrd->pInst), pConn, qid,
|
||||||
|
tstrerror(code));
|
||||||
} else {
|
} else {
|
||||||
tDebug("%s conn %p succ to add statue, sid:%" PRId64 " (1)", transLabel(pThrd->pInst), pConn, qid);
|
tDebug("%s conn %p succ to add statue, sid:%" PRId64 " (1)", transLabel(pThrd->pInst), pConn, qid);
|
||||||
}
|
}
|
||||||
|
@ -1854,9 +1855,7 @@ void cliHandleBatchReq(SCliThrd* pThrd, SCliReq* pReq) {
|
||||||
} else if (code == TSDB_CODE_RPC_STATE_DROPED) {
|
} else if (code == TSDB_CODE_RPC_STATE_DROPED) {
|
||||||
TAOS_CHECK_GOTO(code, &lino, _exception);
|
TAOS_CHECK_GOTO(code, &lino, _exception);
|
||||||
return;
|
return;
|
||||||
}
|
} else if (code == TSDB_CODE_RPC_NO_STATE || code == TSDB_CODE_RPC_ASYNC_IN_PROCESS) {
|
||||||
|
|
||||||
if (code == TSDB_CODE_RPC_NO_STATE || code == TSDB_CODE_RPC_ASYNC_IN_PROCESS) {
|
|
||||||
char addr[TSDB_FQDN_LEN + 64] = {0};
|
char addr[TSDB_FQDN_LEN + 64] = {0};
|
||||||
char* ip = EPSET_GET_INUSE_IP(pReq->ctx->epSet);
|
char* ip = EPSET_GET_INUSE_IP(pReq->ctx->epSet);
|
||||||
int32_t port = EPSET_GET_INUSE_PORT(pReq->ctx->epSet);
|
int32_t port = EPSET_GET_INUSE_PORT(pReq->ctx->epSet);
|
||||||
|
|
Loading…
Reference in New Issue