renaming of discovery.zen.master_election.filter_client setting will be a follow-up, make it a TODO, opened #17325
This commit is contained in:
parent
df2923ced4
commit
2ea694b4bc
|
@ -849,7 +849,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
|
||||||
List<ZenPing.PingResponse> pingResponses = new ArrayList<>();
|
List<ZenPing.PingResponse> pingResponses = new ArrayList<>();
|
||||||
for (ZenPing.PingResponse pingResponse : fullPingResponses) {
|
for (ZenPing.PingResponse pingResponse : fullPingResponses) {
|
||||||
DiscoveryNode node = pingResponse.node();
|
DiscoveryNode node = pingResponse.node();
|
||||||
//nocommit we should rename this and its setting, also we ignore node.ingest, but maybe it's ok here
|
//TODO we should rename this and its setting, also we ignore node.ingest, but maybe it's ok here
|
||||||
if (masterElectionFilterClientNodes && node.masterNode() == false && node.dataNode() == false) {
|
if (masterElectionFilterClientNodes && node.masterNode() == false && node.dataNode() == false) {
|
||||||
// filter out nodes that don't hold data and are not master eligible
|
// filter out nodes that don't hold data and are not master eligible
|
||||||
} else if (masterElectionFilterDataNodes && node.masterNode() == false && node.dataNode()) {
|
} else if (masterElectionFilterDataNodes && node.masterNode() == false && node.dataNode()) {
|
||||||
|
|
Loading…
Reference in New Issue