Reset the counter after each pass.
This commit is contained in:
@@ -289,6 +289,7 @@ BFSPartitionHandle::Repair(bool checkOnly)
|
||||
if (previousPass != result.pass) {
|
||||
printf("Recreating broken index b+trees...\n");
|
||||
previousPass = result.pass;
|
||||
counter = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,6 +91,7 @@ command_checkfs(int argc, const char* const* argv)
|
||||
if (previousPass != result.pass) {
|
||||
fssh_dprintf("Recreating broken index b+trees...\n");
|
||||
previousPass = result.pass;
|
||||
counter = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user