diff --git a/packaging/cfg/taos.cfg b/packaging/cfg/taos.cfg index 7d77a0b23e70782f1a8a0160812820c91640f9dc..1918a4c46964aaa7b13204d0fec7a9ec27bc64f9 100644 --- a/packaging/cfg/taos.cfg +++ b/packaging/cfg/taos.cfg @@ -52,7 +52,7 @@ keepColumnName 1 # telemetryReporting 1 # enable/disable load balancing -# balance 1 +# balance 0 # role for dnode. 0 - any, 1 - mnode, 2 - dnode # role 0 diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 616c5fba890a03a2f59a6bee6ae7d2f79ee52760..cc0e6b0e973953c3ecdc437725a4e0f59170deac 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -164,7 +164,7 @@ bool tsdbForceCompactFile = false; // compact TSDB fileset int32_t tsdbWalFlushSize = TSDB_DEFAULT_WAL_FLUSH_SIZE; // MB // balance -int8_t tsEnableBalance = 1; +int8_t tsEnableBalance = 0; int8_t tsAlternativeRole = 0; int32_t tsBalanceInterval = 300; // seconds int32_t tsOfflineInterval = 3; // seconds