added a message to exclude to suggest retrying the exclude after 30 seconds

This commit is contained in:
Evan Tschannen 2017-10-25 13:32:25 -07:00
parent 4d54a73f5b
commit edfb839ad9
1 changed files with 1 additions and 0 deletions

View File

@ -1660,6 +1660,7 @@ ACTOR Future<bool> exclude( Database db, std::vector<StringRef> tokens, Referenc
StatusObject status = wait( makeInterruptable( StatusClient::statusFetcher( ccf ) ) );
state std::string errorString = "ERROR: Could not calculate the impact of this exclude on the total free space in the cluster.\n"
"Please try the exclude again in 30 seconds.\n"
"Type `exclude FORCE <ADDRESS>*' to exclude without checking free space.\n";
StatusObjectReader statusObj(status);