refactor: do some internal refactor.
This commit is contained in:
parent
4d21d5e055
commit
91271f3fa4
|
@ -1330,8 +1330,6 @@ static int32_t mndProcessStreamCheckpoint(SRpcMsg *pReq) {
|
||||||
int32_t size = taosArrayGetSize(pList);
|
int32_t size = taosArrayGetSize(pList);
|
||||||
if (size == 0) {
|
if (size == 0) {
|
||||||
taosArrayDestroy(pList);
|
taosArrayDestroy(pList);
|
||||||
taosArrayDestroy(pLongChkpts);
|
|
||||||
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1344,8 +1342,6 @@ static int32_t mndProcessStreamCheckpoint(SRpcMsg *pReq) {
|
||||||
"checkpoint trans are not allowed, wait for 30s",
|
"checkpoint trans are not allowed, wait for 30s",
|
||||||
numOfQual, tsStreamCheckpointInterval, numOfCheckpointTrans, tsMaxConcurrentCheckpoint);
|
numOfQual, tsStreamCheckpointInterval, numOfCheckpointTrans, tsMaxConcurrentCheckpoint);
|
||||||
taosArrayDestroy(pList);
|
taosArrayDestroy(pList);
|
||||||
taosArrayDestroy(pLongChkpts);
|
|
||||||
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1385,8 +1381,6 @@ static int32_t mndProcessStreamCheckpoint(SRpcMsg *pReq) {
|
||||||
}
|
}
|
||||||
|
|
||||||
taosArrayDestroy(pList);
|
taosArrayDestroy(pList);
|
||||||
taosArrayDestroy(pLongChkpts);
|
|
||||||
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue