TD-1949
This commit is contained in:
parent
67c3520a8f
commit
b037302b3c
|
@ -143,12 +143,7 @@ int32_t walRestore(void *handle, void *pVnode, FWalWrite writeFp) {
|
||||||
continue;
|
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++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue