Merge branch 'feature/stream' of github.com:taosdata/TDengine into feature/stream

This commit is contained in:
Cary Xu 2022-09-19 19:27:38 +08:00
commit 6f3ac8827c
1 changed files with 2 additions and 0 deletions

View File

@ -384,8 +384,10 @@ static int walFindCurMetaVer(SWal* pWal) {
int code = regexec(&walMetaRegexPattern, name, 0, NULL, 0);
if (code == 0) {
sscanf(name, "meta-ver%d", &metaVer);
wDebug("vgId:%d, wal find current meta: %s is the meta file, ver %d", pWal->cfg.vgId, name, metaVer);
break;
}
wDebug("vgId:%d, wal find current meta: %s is not meta file", pWal->cfg.vgId, name);
}
taosCloseDir(&pDir);
regfree(&walMetaRegexPattern);