From 455046de5f367fc9daa33b38356c12610a30483f Mon Sep 17 00:00:00 2001 From: Chaoguang Lin Date: Thu, 20 May 2021 23:29:22 +0000 Subject: [PATCH] fix format, make the call interruptable --- fdbcli/MaintenanceCommand.actor.cpp | 2 +- fdbcli/fdbcli.actor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fdbcli/MaintenanceCommand.actor.cpp b/fdbcli/MaintenanceCommand.actor.cpp index d36bc7c7e4..c1f16a17eb 100644 --- a/fdbcli/MaintenanceCommand.actor.cpp +++ b/fdbcli/MaintenanceCommand.actor.cpp @@ -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 \ No newline at end of file +} // namespace fdb_cli diff --git a/fdbcli/fdbcli.actor.cpp b/fdbcli/fdbcli.actor.cpp index 87965b253d..531218e8ce 100644 --- a/fdbcli/fdbcli.actor.cpp +++ b/fdbcli/fdbcli.actor.cpp @@ -3763,7 +3763,7 @@ ACTOR Future 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;