diff --git a/src/dnode/src/dnodeMgmt.c b/src/dnode/src/dnodeMgmt.c index cee7474d0d87d8fc050e7e774342988f956e9ec0..63e4a290aa5b4615559fb798ba5d4d3b97937f8d 100644 --- a/src/dnode/src/dnodeMgmt.c +++ b/src/dnode/src/dnodeMgmt.c @@ -91,6 +91,10 @@ int32_t dnodeInitMgmt() { SVnodeObj *pVnode = dnodeGetVnode(cfg.cfg.vgId); dnodeDropVnode(pVnode); + dnodeCreateVnode(&cfg); + SVnodeObj *pVnode = dnodeGetVnode(cfg.cfg.vgId); + dnodeCleanupVnodes(); + dnodeOpenVnodes(); dnodeCleanupVnodes();