diff --git a/src/mnode/src/mnodeTable.c b/src/mnode/src/mnodeTable.c index 74275dc0efad51af268fa449b1eda87995b67bc6..f7ed3e8cb9f4edfb109ebd875cf773000cce51eb 100644 --- a/src/mnode/src/mnodeTable.c +++ b/src/mnode/src/mnodeTable.c @@ -2511,7 +2511,7 @@ static int32_t mnodeProcessMetaSyncDropTableMsg(SMnodeMsg *pMsg) { if (pMsg->pVgroup == NULL) pMsg->pVgroup = mnodeGetVgroup(vgId); if (pMsg->pVgroup == NULL) { - mError("%s:%d, msg:%p, app:%p table:%s, failed to drop table, vgroup not exist", __func__, __LINE__, pMsg, + mError("%s:%d, msg:%p, app:%p table:%s, failed to drop table vgroup not exist", __func__, __LINE__, pMsg, pMsg->rpcMsg.ahandle, pTable->info.tableId); code = TSDB_CODE_MND_APP_ERROR; goto _exit; diff --git a/src/tsdb/src/tsdbMeta.c b/src/tsdb/src/tsdbMeta.c index d74beb102f0e527516578c7bed2fa4011196989b..8b498deae4d60d548bf9145196588d6f8ead382c 100644 --- a/src/tsdb/src/tsdbMeta.c +++ b/src/tsdb/src/tsdbMeta.c @@ -177,29 +177,29 @@ int tsdbDropTable(STsdbRepo *repo, STableId tableId) { tbname = strdup(TABLE_CHAR_NAME(pTable)); if (tbname == NULL) { terrno = TSDB_CODE_TDB_OUT_OF_MEMORY; - tsdbError("vgId:%d, failed to drop table %s since %s! tid:%d, uid:%" PRIu64, REPO_ID(pRepo), tbname, + tsdbError("vgId:%d, failed to drop table since %s! tb:%s, tid:%d, uid:%" PRIu64, REPO_ID(pRepo), tbname, tstrerror(terrno), tableId.tid, uid); return -1; } // Write to KV store first if (tsdbRemoveTableFromStore(pRepo, pTable) < 0) { - tsdbError("vgId:%d, failed to drop table %s since %s! tid:%d, uid:%" PRIu64, REPO_ID(pRepo), tbname, + tsdbError("vgId:%d, failed to drop table since %s! tb:%s, tid:%d, uid:%" PRIu64, REPO_ID(pRepo), tbname, tstrerror(terrno), tableId.tid, uid); goto _err; } // Remove table from Meta if (tsdbRmTableFromMeta(pRepo, pTable) < 0) { - tsdbError("vgId:%d, failed to drop table %s since %s! tid:%d, uid:%" PRIu64, REPO_ID(pRepo), tbname, + tsdbError("vgId:%d, failed to drop table since %s! tb:%s, tid:%d, uid:%" PRIu64, REPO_ID(pRepo), tbname, tstrerror(terrno), tableId.tid, uid); goto _err; } if (tsMetaSyncOption) { - tsdbInfo("vgId:%d, table %s is dropped! tid:%d, uid:%" PRId64, pRepo->config.tsdbId, tbname, tid, uid); + tsdbInfo("vgId:%d, table is dropped! tb:%s, tid:%d, uid:%" PRId64, pRepo->config.tsdbId, tbname, tid, uid); } else { - tsdbDebug("vgId:%d, table %s is dropped! tid:%d, uid:%" PRId64, pRepo->config.tsdbId, tbname, tid, uid); + tsdbDebug("vgId:%d, table is dropped! tb:%s, tid:%d, uid:%" PRId64, pRepo->config.tsdbId, tbname, tid, uid); } free(tbname);