[del walSize check]
This commit is contained in:
parent
a35e5fad80
commit
a942717855
|
@ -691,12 +691,12 @@ int main(int32_t argc, char *argv[]) {
|
|||
float rowsSpeed = totalRows / seconds;
|
||||
float msgsSpeed = totalMsgs / seconds;
|
||||
|
||||
walLogSize = getDirectorySize(g_stConfInfo.vnodeWalPath);
|
||||
if (walLogSize <= 0) {
|
||||
printf("vnode2/wal size incorrect!");
|
||||
/*exit(-1);*/
|
||||
} else {
|
||||
if (0 == g_stConfInfo.simCase) {
|
||||
if (0 == g_stConfInfo.simCase) {
|
||||
walLogSize = getDirectorySize(g_stConfInfo.vnodeWalPath);
|
||||
if (walLogSize <= 0) {
|
||||
printf("%s size incorrect!", g_stConfInfo.vnodeWalPath);
|
||||
exit(-1);
|
||||
} else {
|
||||
pPrint(".log file size in vnode2/wal: %.3f MBytes\n", (double)walLogSize/(1024 * 1024.0));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue