未验证 提交 9623e620 编写于 作者: M Minglei Jin 提交者: GitHub

Merge pull request #14908 from taosdata/fix/TS-1577-2.6

fix: change the default maxDbs of root acct to INT16_MAX
...@@ -215,7 +215,7 @@ static int32_t mnodeCreateRootAcct() { ...@@ -215,7 +215,7 @@ static int32_t mnodeCreateRootAcct() {
taosEncryptPass((uint8_t *)TSDB_DEFAULT_PASS, strlen(TSDB_DEFAULT_PASS), pAcct->pass); taosEncryptPass((uint8_t *)TSDB_DEFAULT_PASS, strlen(TSDB_DEFAULT_PASS), pAcct->pass);
pAcct->cfg = (SAcctCfg){ pAcct->cfg = (SAcctCfg){
.maxUsers = 128, .maxUsers = 128,
.maxDbs = 128, .maxDbs = INT16_MAX,
.maxTimeSeries = INT32_MAX, .maxTimeSeries = INT32_MAX,
.maxConnections = 1024, .maxConnections = 1024,
.maxStreams = 1000, .maxStreams = 1000,
......
...@@ -17,7 +17,7 @@ endi ...@@ -17,7 +17,7 @@ endi
if $data02 != 3/128 then if $data02 != 3/128 then
return -1 return -1
endi endi
if $data03 != 0/128 then if $data03 != 0/32767 then
return -1 return -1
endi endi
if $data04 != 0/2147483647 then if $data04 != 0/2147483647 then
...@@ -111,4 +111,4 @@ if $data16 != 0.000/10.000 then ...@@ -111,4 +111,4 @@ if $data16 != 0.000/10.000 then
return -1 return -1
endi endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册