diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index e9b84ecd13bbcce1e97b71032a1f4959ec3ba53d..5448e5433a14bd03514e3cbb8bdcd81c0ca4b3c2 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -195,9 +195,10 @@ int tscSendMsgToServer(SSqlObj *pSql) { .code = 0 }; - // NOTE: the rpc context should be acquired before sent data to server. - // Otherwise, the pSql object may have been released already in during the processMsgFromServer function, in the - // meanwhile, the assignment of the rpc context to sql object will absolutely caused crash. + // NOTE: the rpc context should be acquired before sending data to server. + // Otherwise, the pSql object may have been released already during the response function, which is + // processMsgFromServer function. In the meanwhile, the assignment of the rpc context to sql object will absolutely + // cause crash. /*pSql->pRpcCtx = */rpcSendRequest(pObj->pDnodeConn, &pSql->ipList, &rpcMsg); return TSDB_CODE_SUCCESS; }