add log
This commit is contained in:
parent
d731756d26
commit
a83824eccd
|
@ -426,6 +426,7 @@ static int32_t mgmtDropDnodeByEp(char *ep) {
|
|||
return TSDB_CODE_NO_REMOVE_MASTER;
|
||||
}
|
||||
|
||||
mPrint("dnode:%d, start to drop it", pDnode->dnodeId);
|
||||
#ifndef _SYNC
|
||||
return mgmtDropDnode(pDnode);
|
||||
#else
|
||||
|
|
|
@ -160,10 +160,7 @@ static int32_t mgmtVgroupActionUpdate(SSdbOper *pOper) {
|
|||
|
||||
mgmtDecVgroupRef(pVgroup);
|
||||
|
||||
mTrace("vgId:%d, is updated, numOfVnode:%d", pVgroup->vgId, pVgroup->numOfVnodes);
|
||||
if (pDb) {
|
||||
mTrace("tables:%d", pDb->cfg.maxTables);
|
||||
}
|
||||
mTrace("vgId:%d, is updated, numOfVnode:%d tables:%d", pVgroup->vgId, pVgroup->numOfVnodes, pDb == NULL ? 0 : pDb->cfg.maxTables);
|
||||
return TSDB_CODE_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ $x = 0
|
|||
show2:
|
||||
$x = $x + 1
|
||||
sleep 2000
|
||||
if $x == 30 then
|
||||
if $x == 20 then
|
||||
return -1
|
||||
endi
|
||||
sql show dnodes -x show2
|
||||
|
@ -134,7 +134,7 @@ $x = 0
|
|||
show4:
|
||||
$x = $x + 1
|
||||
sleep 2000
|
||||
if $x == 30 then
|
||||
if $x == 20 then
|
||||
return -1
|
||||
endi
|
||||
sql show dnodes -x show4
|
||||
|
|
Loading…
Reference in New Issue