enh: prepare vnode dir again in vnodeOpen
This commit is contained in:
parent
05ba5e1ed0
commit
094cf408df
|
@ -345,6 +345,10 @@ SVnode *vnodeOpen(const char *path, int32_t diskPrimary, STfs *pTfs, SMsgCb msgC
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (vnodeMkDir(pTfs, path)) {
|
||||||
|
vError("vgId:%d, failed to prepare vnode dir since %s, path: %s", info.config.vgId, strerror(errno), path);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
// save vnode info on dnode ep changed
|
// save vnode info on dnode ep changed
|
||||||
bool updated = false;
|
bool updated = false;
|
||||||
SSyncCfg *pCfg = &info.config.syncCfg;
|
SSyncCfg *pCfg = &info.config.syncCfg;
|
||||||
|
|
Loading…
Reference in New Issue