From edeb80f4f6c56b5aef2a3c388ebe940b13ff7188 Mon Sep 17 00:00:00 2001 From: slguan Date: Fri, 20 Dec 2019 18:25:27 +0800 Subject: [PATCH] #586 [TBASE-1330] --- src/inc/tsdb.h | 2 +- src/system/detail/src/vnodeShell.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inc/tsdb.h b/src/inc/tsdb.h index 8b057654c6..6112b3f552 100644 --- a/src/inc/tsdb.h +++ b/src/inc/tsdb.h @@ -181,7 +181,7 @@ extern "C" { #define TSDB_MAX_AVG_BLOCKS 2048 #define TSDB_DEFAULT_AVG_BLOCKS 4 -#define TSDB_MIN_TABLES_PER_VNODE 1 +#define TSDB_MIN_TABLES_PER_VNODE 2 #define TSDB_MAX_TABLES_PER_VNODE 220000 #define TSDB_MAX_JOIN_TABLE_NUM 5 diff --git a/src/system/detail/src/vnodeShell.c b/src/system/detail/src/vnodeShell.c index 99535c9aa4..015e95e665 100644 --- a/src/system/detail/src/vnodeShell.c +++ b/src/system/detail/src/vnodeShell.c @@ -506,7 +506,7 @@ static int vnodeCheckSubmitBlockContext(SShellSubmitBlock *pBlocks, SVnodeObj *p uint64_t uid = htobe64(pBlocks->uid); if (sid >= pVnode->cfg.maxSessions || sid <= 0) { - dError("vid:%d sid:%d, sid is out of range", sid); + dError("vid:%d sid:%d, sid is out of range", pVnode->vnode, sid); return TSDB_CODE_INVALID_TABLE_ID; } -- GitLab