This commit is contained in:
Shengliang Guan 2020-11-05 08:21:22 +00:00
parent 67c3520a8f
commit b037302b3c
1 changed files with 1 additions and 6 deletions

View File

@ -143,12 +143,7 @@ int32_t walRestore(void *handle, void *pVnode, FWalWrite writeFp) {
continue;
}
if (!pWal->keep) {
wDebug("vgId:%d, file:%s, restore success, remove this file", pWal->vgId, walName);
remove(walName);
} else {
wDebug("vgId:%d, file:%s, restore success and keep it", pWal->vgId, walName);
}
wDebug("vgId:%d, file:%s, restore success and keep it", pWal->vgId, walName);
count++;
}