File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
server/src/main/java/org/elasticsearch/cluster/coordination Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,17 @@ public class DetachClusterCommand extends ElasticsearchNodeCommand {
3232
3333 static final String NODE_DETACHED_MSG = "Node was successfully detached from the cluster" ;
3434 static final String CONFIRMATION_MSG =
35- " --------------------------------------------------------------------------\n " +
35+ "----- --------------------------------------------------------------------------\n " +
3636 "\n " +
3737 "You should run this tool only if you have permanently lost all\n " +
3838 "your master-eligible nodes, and you cannot restore the cluster\n " +
3939 "from a snapshot, or you have already run `elasticsearch-node unsafe-bootstrap`\n " +
40- "on master-eligible node that formed cluster with this node.\n " +
41- "This tool can result in arbitrary data loss and should be\n " +
42- "the last resort.\n " +
40+ "on a master-eligible node that formed a cluster with this node.\n " +
41+ "This tool can cause arbitrary data loss and its use should be your last resort.\n " +
4342 "Do you want to proceed?\n " ;
4443
4544 public DetachClusterCommand () {
46- super ("Detaches this node from the cluster with old UUID , allowing it to join new cluster" );
45+ super ("Detaches this node from its cluster, allowing it to unsafely join a new cluster" );
4746 }
4847
4948 @ Override
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ public class UnsafeBootstrapMasterCommand extends ElasticsearchNodeCommand {
4949 "\n " +
5050 "You should run this tool only if you have permanently lost half\n " +
5151 "or more of the master-eligible nodes, and you cannot restore the cluster\n " +
52- "from a snapshot. This tool can result in arbitrary data loss and\n " +
53- "should be the last resort.\n " +
52+ "from a snapshot. This tool can cause arbitrary data loss and its use " +
53+ "should be your last resort.\n " +
5454 "If you have multiple survived master eligible nodes, consider running\n " +
5555 "this tool on the node with the highest cluster state (term, version) pair.\n " +
5656 "Do you want to proceed?\n " ;
You can’t perform that action at this time.
0 commit comments