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