]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8798 do not set obsolete discovery.zen.ping.multicast.enabled
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Thu, 29 Jun 2017 08:56:08 +0000 (10:56 +0200)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Wed, 9 Aug 2017 13:09:54 +0000 (15:09 +0200)
Multicast is now a plugin in ES 2 and 5 and does not have to be disabled anymore

server/sonar-search/src/main/java/org/sonar/search/EsSettings.java

index 052e5e26beffab624dd36adc7a76a7bb0e7235b5..bb785cbad0683da54c89d5fe8a3418ed17ba87c6 100644 (file)
@@ -116,8 +116,7 @@ public class EsSettings implements EsSettingsMBean {
     int port = Integer.parseInt(props.nonNullValue(ProcessProperties.SEARCH_PORT));
     LOGGER.info("Elasticsearch listening on {}:{}", host, port);
 
-    // disable multicast
-    builder.put("discovery.zen.ping.multicast.enabled", "false")
+    builder
       .put("transport.tcp.port", port)
       .put("transport.host", host.getHostAddress())
       .put("network.host", host.getHostAddress());