Merge pull request #12538 from taosdata/feature/3.0_mhli
fix(sync): set handle when send response
This commit is contained in:
commit
846d46654d
|
@ -192,7 +192,8 @@ static void vmProcessApplyQueue(SQueueInfo *pInfo, STaosQall *qall, int32_t numO
|
||||||
rpcFreeCont(originalRpcMsg.pCont);
|
rpcFreeCont(originalRpcMsg.pCont);
|
||||||
|
|
||||||
// if leader, send response
|
// if leader, send response
|
||||||
if (pMsg->rpcMsg.handle != NULL && pMsg->rpcMsg.ahandle != NULL) {
|
//if (pMsg->rpcMsg.handle != NULL && pMsg->rpcMsg.ahandle != NULL) {
|
||||||
|
if (pMsg->rpcMsg.handle != NULL) {
|
||||||
rsp.ahandle = pMsg->rpcMsg.ahandle;
|
rsp.ahandle = pMsg->rpcMsg.ahandle;
|
||||||
rsp.handle = pMsg->rpcMsg.handle;
|
rsp.handle = pMsg->rpcMsg.handle;
|
||||||
rsp.refId = pMsg->rpcMsg.refId;
|
rsp.refId = pMsg->rpcMsg.refId;
|
||||||
|
|
Loading…
Reference in New Issue