feat: support update active code in sdb
This commit is contained in:
parent
5098d44068
commit
ab06dd04f4
|
@ -1054,7 +1054,7 @@ static int32_t mndProcessConfigDnodeReq(SRpcMsg *pReq) {
|
|||
}
|
||||
int32_t vlen = strlen(cfgReq.value);
|
||||
if ((idx == 10 && vlen != (TSDB_ACTIVE_KEY_LEN - 1)) ||
|
||||
(idx == 11 && (vlen > (TSDB_CONN_ACTIVE_KEY_LEN -1) || vlen < (TSDB_ACTIVE_KEY_LEN - 1))) {
|
||||
(idx == 11 && (vlen > (TSDB_CONN_ACTIVE_KEY_LEN -1) || vlen < (TSDB_ACTIVE_KEY_LEN - 1)))) {
|
||||
mError("dnode:%d, failed to config activeCode since invalid vlen. conf:%s, val:%s", cfgReq.dnodeId, cfgReq.config,
|
||||
cfgReq.value);
|
||||
terrno = TSDB_CODE_INVALID_OPTION;
|
||||
|
|
Loading…
Reference in New Issue