Skip to content

Commit

Permalink
When node.data is set to false, the upgrade shards process from 0…
Browse files Browse the repository at this point in the history
….18 fails, closes elastic#1793.
  • Loading branch information
kimchy committed Mar 18, 2012
1 parent 0d8e8af commit 217abfe
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ public static boolean masterNode(Settings settings) {
}

public static boolean dataNode(Settings settings) {
String data = settings.get("data");
String data = settings.get("node.data");
if (data == null) {
return !clientNode(settings);
}
Expand Down

0 comments on commit 217abfe

Please sign in to comment.