diff --git a/src/mnode/src/mnodeSdb.c b/src/mnode/src/mnodeSdb.c index 40b9784e0e0d0570f8271e3017d1fdbea20667b9..e08f8ca0db6a3e2199e3f1389ce6c70369db8e2f 100644 --- a/src/mnode/src/mnodeSdb.c +++ b/src/mnode/src/mnodeSdb.c @@ -252,13 +252,15 @@ static void sdbConfirmForward(void *ahandle, void *param, int32_t code) { int32_t processedCount = atomic_add_fetch_32(&pOper->processedCount, 1); if (processedCount <= 1) { if (pMsg != NULL) { - sdbDebug("app:%p:%p, waiting for confirm this operation, count:%d", pMsg->rpcMsg.ahandle, pMsg, processedCount); + sdbDebug("app:%p:%p, waiting for confirm this operation, count:%d result:%s", pMsg->rpcMsg.ahandle, pMsg, + processedCount, tstrerror(code)); } return; } if (pMsg != NULL) { - sdbDebug("app:%p:%p, is confirmed and will do callback func", pMsg->rpcMsg.ahandle, pMsg); + sdbDebug("app:%p:%p, is confirmed and will do callback func, result:%s", pMsg->rpcMsg.ahandle, pMsg, + tstrerror(code)); } if (pOper->cb != NULL) { diff --git a/tests/script/tmp/mnodes.sim b/tests/script/tmp/mnodes.sim index afc068b3f1fd0827a4046022925879ce017255ad..b4e176f2215c06d312dd52b08a09d6999cffdb86 100644 --- a/tests/script/tmp/mnodes.sim +++ b/tests/script/tmp/mnodes.sim @@ -52,9 +52,9 @@ system sh/cfg.sh -n dnode1 -c qdebugFlag -v 131 system sh/cfg.sh -n dnode2 -c qdebugFlag -v 131 system sh/cfg.sh -n dnode3 -c qdebugFlag -v 131 -system sh/cfg.sh -n dnode1 -c cDebugFlag -v 131 -system sh/cfg.sh -n dnode2 -c cDebugFlag -v 131 -system sh/cfg.sh -n dnode3 -c cDebugFlag -v 131 +system sh/cfg.sh -n dnode1 -c cDebugFlag -v 135 +system sh/cfg.sh -n dnode2 -c cDebugFlag -v 135 +system sh/cfg.sh -n dnode3 -c cDebugFlag -v 135 system sh/cfg.sh -n dnode1 -c udebugFlag -v 131 system sh/cfg.sh -n dnode2 -c udebugFlag -v 131 @@ -64,6 +64,10 @@ system sh/cfg.sh -n dnode1 -c wdebugFlag -v 131 system sh/cfg.sh -n dnode2 -c wdebugFlag -v 131 system sh/cfg.sh -n dnode3 -c wdebugFlag -v 131 +system sh/cfg.sh -n dnode1 -c maxTablesPerVnode -v 1000000 +system sh/cfg.sh -n dnode2 -c maxTablesPerVnode -v 1000000 +system sh/cfg.sh -n dnode3 -c maxTablesPerVnode -v 1000000 + print ============== deploy system sh/exec.sh -n dnode1 -s start diff --git a/tests/test/c/createTablePerformance.c b/tests/test/c/createTablePerformance.c index 3edffd2a5e711374e183a29d66998d9ed937c506..2e334fa9b280e9165f26978f3b100001ef271a3f 100644 --- a/tests/test/c/createTablePerformance.c +++ b/tests/test/c/createTablePerformance.c @@ -15,6 +15,7 @@ #define _DEFAULT_SOURCE #include "os.h" +#include "taoserror.h" #include "taos.h" #include "tulog.h" #include "ttime.h" @@ -154,7 +155,7 @@ void *threadFunc(void *param) { TAOS_RES *pSql = taos_query(con, qstr); code = taos_errno(pSql); if (code != 0) { - pError("failed to create table %s%d, reason:%s", stableName, t, taos_errstr(con)); + pError("failed to create table %s%d, reason:%s", stableName, t, tstrerror(code)); } taos_free_result(pSql); }