fix: adjust view not exist log level
This commit is contained in:
parent
609c2bccf3
commit
be6a6976db
|
@ -1906,8 +1906,13 @@ _return:
|
||||||
SMetaRes* pRes = taosArrayGet(ctx->pResList, pFetch->resIdx);
|
SMetaRes* pRes = taosArrayGet(ctx->pResList, pFetch->resIdx);
|
||||||
pRes->code = code;
|
pRes->code = code;
|
||||||
pRes->pRes = NULL;
|
pRes->pRes = NULL;
|
||||||
ctgTaskError("Get view %d.%s.%s meta failed with error %s", pName->acctId, pName->dbname, pName->tname,
|
if (TSDB_CODE_MND_VIEW_NOT_EXIST == code) {
|
||||||
tstrerror(code));
|
ctgTaskDebug("Get view %d.%s.%s meta failed with %s", pName->acctId, pName->dbname, pName->tname,
|
||||||
|
tstrerror(code));
|
||||||
|
} else {
|
||||||
|
ctgTaskError("Get view %d.%s.%s meta failed with error %s", pName->acctId, pName->dbname, pName->tname,
|
||||||
|
tstrerror(code));
|
||||||
|
}
|
||||||
if (0 == atomic_sub_fetch_32(&ctx->fetchNum, 1)) {
|
if (0 == atomic_sub_fetch_32(&ctx->fetchNum, 1)) {
|
||||||
TSWAP(pTask->res, ctx->pResList);
|
TSWAP(pTask->res, ctx->pResList);
|
||||||
taskDone = true;
|
taskDone = true;
|
||||||
|
|
|
@ -320,7 +320,11 @@ int32_t ctgProcessRspMsg(void* out, int32_t reqType, char* msg, int32_t msgSize,
|
||||||
}
|
}
|
||||||
case TDMT_MND_VIEW_META: {
|
case TDMT_MND_VIEW_META: {
|
||||||
if (TSDB_CODE_SUCCESS != rspCode) {
|
if (TSDB_CODE_SUCCESS != rspCode) {
|
||||||
qError("error rsp for get view-meta, error:%s, viewFName:%s", tstrerror(rspCode), target);
|
if (TSDB_CODE_MND_VIEW_NOT_EXIST == rspCode) {
|
||||||
|
qDebug("no success rsp for get view-meta, error:%s, viewFName:%s", tstrerror(rspCode), target);
|
||||||
|
} else {
|
||||||
|
qError("error rsp for get view-meta, error:%s, viewFName:%s", tstrerror(rspCode), target);
|
||||||
|
}
|
||||||
CTG_ERR_RET(rspCode);
|
CTG_ERR_RET(rspCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue