From d892040728a3e97efca4de0046de756f6d3a7741 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Mon, 13 Jul 2020 16:41:58 +0800 Subject: [PATCH] [TD-913] --- src/common/src/tglobal.c | 2 +- src/inc/taosdef.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 9eabe0cbc8..b56e27fae7 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -112,7 +112,7 @@ int16_t tsCompression = TSDB_DEFAULT_COMP_LEVEL; int16_t tsWAL = TSDB_DEFAULT_WAL_LEVEL; int32_t tsReplications = TSDB_DEFAULT_DB_REPLICA_OPTION; int32_t tsMaxVgroupsPerDb = 0; -int32_t tsMinTablePerVnode = TSDB_MIN_TABLES; +int32_t tsMinTablePerVnode = 100; int32_t tsMaxTablePerVnode = TSDB_DEFAULT_TABLES; int32_t tsTableIncStepPerVnode = TSDB_TABLES_STEP; diff --git a/src/inc/taosdef.h b/src/inc/taosdef.h index 27f472a2b6..7fdccfd6d4 100644 --- a/src/inc/taosdef.h +++ b/src/inc/taosdef.h @@ -295,7 +295,7 @@ void tsDataSwap(void *pLeft, void *pRight, int32_t type, int32_t size); #define TSDB_MAX_TOTAL_BLOCKS 10000 #define TSDB_DEFAULT_TOTAL_BLOCKS 4 -#define TSDB_MIN_TABLES 100 +#define TSDB_MIN_TABLES 4 #define TSDB_MAX_TABLES 10000000 #define TSDB_DEFAULT_TABLES 1000000 #define TSDB_TABLES_STEP 1000 -- GitLab