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:
javanna 2016-03-24 15:20:02 +01:00 committed by Luca Cavanna
parent df2923ced4
commit 2ea694b4bc
1 changed files with 1 additions and 1 deletions

View File

@ -849,7 +849,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
List<ZenPing.PingResponse> pingResponses = new ArrayList<>();
for (ZenPing.PingResponse pingResponse : fullPingResponses) {
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) {
// filter out nodes that don't hold data and are not master eligible
} else if (masterElectionFilterDataNodes && node.masterNode() == false && node.dataNode()) {