mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-15 02:18:39 +08:00
added a message to exclude to suggest retrying the exclude after 30 seconds
This commit is contained in:
parent
4d54a73f5b
commit
edfb839ad9
@ -1660,6 +1660,7 @@ ACTOR Future<bool> exclude( Database db, std::vector<StringRef> tokens, Referenc
|
|||||||
StatusObject status = wait( makeInterruptable( StatusClient::statusFetcher( ccf ) ) );
|
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"
|
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";
|
"Type `exclude FORCE <ADDRESS>*' to exclude without checking free space.\n";
|
||||||
|
|
||||||
StatusObjectReader statusObj(status);
|
StatusObjectReader statusObj(status);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user