fix: counting normal tables in vgroups;

This commit is contained in:
Minglei Jin 2022-08-08 17:18:15 +08:00
parent 0a84910be1
commit e0521f59b3
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ int64_t metaGetTbNum(SMeta *pMeta) {
/* int64_t num = 0; */
/* vnodeGetAllCtbNum(pMeta->pVnode, &num); */
return pMeta->pVnode->config.vndStats.numOfCTables;
return pMeta->pVnode->config.vndStats.numOfCTables + pMeta->pVnode->config.vndStats.numOfNTables;
}
// N.B. Called by statusReq per second