refactor:add some logs.
This commit is contained in:
parent
1f9a58361d
commit
0b36081158
|
@ -461,7 +461,7 @@ typedef struct STaskStartInfo {
|
|||
int32_t taskStarting; // restart flag, sentinel to guard the restart procedure.
|
||||
SHashObj* pReadyTaskSet; // tasks that are all ready for running stream processing
|
||||
SHashObj* pFailedTaskSet; // tasks that are done the check downstream process, may be successful or failed
|
||||
int32_t elapsedTime;
|
||||
int64_t elapsedTime;
|
||||
} STaskStartInfo;
|
||||
|
||||
typedef struct STaskUpdateInfo {
|
||||
|
|
|
@ -2670,6 +2670,7 @@ int32_t mndProcessStreamHb(SRpcMsg *pReq) {
|
|||
doExtractTasksFromStream(pMnode);
|
||||
}
|
||||
|
||||
mDebug("%d stream nodes needs updated", (int32_t) taosArrayGetSize(req.pUpdateNodes));
|
||||
setNodeEpsetExpiredFlag(req.pUpdateNodes);
|
||||
|
||||
for (int32_t i = 0; i < req.numOfTasks; ++i) {
|
||||
|
|
|
@ -965,7 +965,8 @@ void metaHbToMnode(void* param, void* tmrId) {
|
|||
|
||||
if (!exist) {
|
||||
taosArrayPush(hbMsg.pUpdateNodes, &pTaskEpset->nodeId);
|
||||
stDebug("vgId:%d nodeId:%d added into the update list", pMeta->vgId, pTaskEpset->nodeId);
|
||||
stDebug("vgId:%d nodeId:%d added into the update list, total:%d", pMeta->vgId, pTaskEpset->nodeId,
|
||||
(int32_t)taosArrayGetSize(hbMsg.pUpdateNodes));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue