fix format, make the call interruptable
This commit is contained in:
parent
9b228fd4db
commit
455046de5f
|
@ -164,4 +164,4 @@ CommandFactory maintenanceFactory(
|
|||
"SECONDS have elapsed, or after a storage server with a different ZONEID fails. Only one ZONEID can be marked "
|
||||
"for maintenance. Calling this command with no arguments will display any ongoing maintenance. Calling this "
|
||||
"command with `off' will disable maintenance.\n"));
|
||||
} // namespace fdb_cli
|
||||
} // namespace fdb_cli
|
||||
|
|
|
@ -3763,7 +3763,7 @@ ACTOR Future<int> cli(CLIOptions opt, LineNoise* plinenoise) {
|
|||
|
||||
if (tokencmp(tokens[0], "consistencycheck")) {
|
||||
getTransaction(db, tr, tr2, options, intrans);
|
||||
bool _result = wait(consistencyCheckCommandActor(tr2, tokens));
|
||||
bool _result = wait(makeInterruptable(consistencyCheckCommandActor(tr2, tokens)));
|
||||
if (!_result)
|
||||
is_error = true;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue