[del walSize check]

This commit is contained in:
plum-lihui 2022-03-28 11:56:01 +08:00
parent a35e5fad80
commit a942717855
1 changed files with 6 additions and 6 deletions

View File

@ -691,12 +691,12 @@ int main(int32_t argc, char *argv[]) {
float rowsSpeed = totalRows / seconds; float rowsSpeed = totalRows / seconds;
float msgsSpeed = totalMsgs / seconds; float msgsSpeed = totalMsgs / seconds;
walLogSize = getDirectorySize(g_stConfInfo.vnodeWalPath); if (0 == g_stConfInfo.simCase) {
if (walLogSize <= 0) { walLogSize = getDirectorySize(g_stConfInfo.vnodeWalPath);
printf("vnode2/wal size incorrect!"); if (walLogSize <= 0) {
/*exit(-1);*/ printf("%s size incorrect!", g_stConfInfo.vnodeWalPath);
} else { exit(-1);
if (0 == g_stConfInfo.simCase) { } else {
pPrint(".log file size in vnode2/wal: %.3f MBytes\n", (double)walLogSize/(1024 * 1024.0)); pPrint(".log file size in vnode2/wal: %.3f MBytes\n", (double)walLogSize/(1024 * 1024.0));
} }
} }