fix ci error
This commit is contained in:
parent
ef56a07bea
commit
55d4d812e1
|
@ -911,11 +911,8 @@ _OVER:
|
|||
int32_t contLen = tSerializeSEpSet(NULL, 0, &epSet);
|
||||
pMsg->info.rsp = rpcMallocCont(contLen);
|
||||
if (pMsg->info.rsp != NULL) {
|
||||
code = tSerializeSEpSet(pMsg->info.rsp, contLen, &epSet);
|
||||
if (code < 0) {
|
||||
rpcFreeCont(pMsg->info.rsp);
|
||||
pMsg->info.rsp = NULL;
|
||||
TAOS_RETURN(code);
|
||||
if (tSerializeSEpSet(pMsg->info.rsp, contLen, &epSet) < 0) {
|
||||
mError("failed to serialize ep set");
|
||||
}
|
||||
pMsg->info.hasEpSet = 1;
|
||||
pMsg->info.rspLen = contLen;
|
||||
|
|
|
@ -225,8 +225,7 @@ static int32_t mndSetCreateSnodeRedoActions(STrans *pTrans, SDnodeObj *pDnode, S
|
|||
}
|
||||
code = tSerializeSCreateDropMQSNodeReq(pReq, contLen, &createReq);
|
||||
if (code < 0) {
|
||||
taosMemoryFree(pReq);
|
||||
TAOS_RETURN(code);
|
||||
mError("snode:%d, failed to serialize create drop snode request since %s", createReq.dnodeId, terrstr());
|
||||
}
|
||||
|
||||
STransAction action = {0};
|
||||
|
@ -257,8 +256,7 @@ static int32_t mndSetCreateSnodeUndoActions(STrans *pTrans, SDnodeObj *pDnode, S
|
|||
}
|
||||
code = tSerializeSCreateDropMQSNodeReq(pReq, contLen, &dropReq);
|
||||
if (code < 0) {
|
||||
taosMemoryFree(pReq);
|
||||
TAOS_RETURN(code);
|
||||
mError("snode:%d, failed to serialize create drop snode request since %s", dropReq.dnodeId, terrstr());
|
||||
}
|
||||
|
||||
STransAction action = {0};
|
||||
|
@ -393,8 +391,7 @@ static int32_t mndSetDropSnodeRedoActions(STrans *pTrans, SDnodeObj *pDnode, SSn
|
|||
}
|
||||
code = tSerializeSCreateDropMQSNodeReq(pReq, contLen, &dropReq);
|
||||
if (code < 0) {
|
||||
taosMemoryFree(pReq);
|
||||
TAOS_RETURN(code);
|
||||
mError("snode:%d, failed to serialize create drop snode request since %s", dropReq.dnodeId, terrstr());
|
||||
}
|
||||
|
||||
STransAction action = {0};
|
||||
|
|
Loading…
Reference in New Issue