Skip to content

Commit 0894fe4

Browse files
author
Andrey Ershov
committed
Warning message update
1 parent f0a81ce commit 0894fe4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/src/main/java/org/elasticsearch/cluster/coordination/UnsafeBootstrapMasterCommand.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ public class UnsafeBootstrapMasterCommand extends EnvironmentAwareCommand {
5353
"\n" +
5454
" WARNING: Elasticsearch MUST be stopped before running this tool.\n" +
5555
"\n" +
56-
"You should run this tool only if you've lost the majority of master eligible nodes.\n" +
57-
"If you have a backup, restore from the backup instead.\n" +
58-
"Running this tool should be the last resort.\n" +
59-
"Running this tool may cause arbitrary data loss and may render your cluster completely non functional.\n" +
56+
"You should run this tool only if you have permanently lost half\n" +
57+
"or more of the master-eligible nodes, and you cannot restore the cluster\n" +
58+
"from a snapshot. This tool can result in arbitrary data loss and " +
59+
"should be the last resort.\n" +
6060
"Do you accept this risk?\n";
6161
static final String ABORTED_BY_USER_MSG = "aborted by user";
6262
static final String NOT_MASTER_NODE_MSG = "unsafe-bootstrap tool can only be run on master eligible node";

0 commit comments

Comments
 (0)