1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-06-01 10:45:56 +08:00

fix format, make the call interruptable

This commit is contained in:
Chaoguang Lin 2021-05-20 23:29:22 +00:00
parent 9b228fd4db
commit 455046de5f
2 changed files with 2 additions and 2 deletions

@ -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;