Merge pull request #28007 from taosdata/fix/3_liaohj
refactor: update the error logs.
This commit is contained in:
commit
dd266585a5
|
@ -114,7 +114,7 @@ int32_t tqScanWalInFuture(STQ* pTq, int32_t numOfTasks, int32_t idleDuration) {
|
||||||
} else {
|
} else {
|
||||||
bool ret = taosTmrReset(doStartScanWal, idleDuration, pParam, pTimer, &pMeta->scanInfo.scanTimer);
|
bool ret = taosTmrReset(doStartScanWal, idleDuration, pParam, pTimer, &pMeta->scanInfo.scanTimer);
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
tqError("vgId:%d failed to start scan wal in:%dms", vgId, idleDuration);
|
// tqError("vgId:%d failed to start scan wal in:%dms", vgId, idleDuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -671,7 +671,10 @@ int32_t streamSearchAndAddBlock(SStreamTask* pTask, SStreamDispatchReq* pReqs, S
|
||||||
} else {
|
} else {
|
||||||
int32_t code = buildCtbNameByGroupIdImpl(pTask->outputInfo.shuffleDispatcher.stbFullName, groupId,
|
int32_t code = buildCtbNameByGroupIdImpl(pTask->outputInfo.shuffleDispatcher.stbFullName, groupId,
|
||||||
pDataBlock->info.parTbName);
|
pDataBlock->info.parTbName);
|
||||||
stError("s-task:%s failed to build child table name, code:%s", pTask->id.idStr, tstrerror(code));
|
if (code) {
|
||||||
|
stError("s-task:%s failed to build child table name for group:%" PRId64 ", code:%s", pTask->id.idStr,
|
||||||
|
groupId, tstrerror(code));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf(ctbName, TSDB_TABLE_NAME_LEN, "%s.%s", pTask->outputInfo.shuffleDispatcher.dbInfo.db,
|
snprintf(ctbName, TSDB_TABLE_NAME_LEN, "%s.%s", pTask->outputInfo.shuffleDispatcher.dbInfo.db,
|
||||||
|
|
Loading…
Reference in New Issue