Merge pull request #978 from taosdata/hotfix/slguan

#586 [TBASE-1330]
This commit is contained in:
haojun Liao 2019-12-21 15:08:48 +08:00 committed by GitHub
commit 54af4c1861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -181,6 +181,10 @@ extern "C" {
#define TSDB_MAX_AVG_BLOCKS 2048
#define TSDB_DEFAULT_AVG_BLOCKS 4
/*
* There is a bug in function taosAllocateId.
* When "create database tables 1" is executed, the wrong sid is assigned, so the minimum value is set to 2.
*/
#define TSDB_MIN_TABLES_PER_VNODE 2
#define TSDB_MAX_TABLES_PER_VNODE 220000