When `node.data` is set to `false`, the upgrade shards process from 0.18 fails, closes #1793.
This commit is contained in:
parent
6046e7c6eb
commit
d25c4cc914
|
@ -58,7 +58,7 @@ public class DiscoveryNode implements Streamable, Serializable {
|
|||
}
|
||||
|
||||
public static boolean dataNode(Settings settings) {
|
||||
String data = settings.get("data");
|
||||
String data = settings.get("node.data");
|
||||
if (data == null) {
|
||||
return !clientNode(settings);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue