]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8798 property node.rack_id renamed to node.attr.rack_id
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Thu, 29 Jun 2017 09:29:03 +0000 (11:29 +0200)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Wed, 9 Aug 2017 13:09:54 +0000 (15:09 +0200)
server/sonar-search/src/main/java/org/sonar/search/EsSettings.java

index bb785cbad0683da54c89d5fe8a3418ed17ba87c6..94532b2761daa6d2933d77b8b6b546d446297410 100644 (file)
@@ -178,7 +178,7 @@ public class EsSettings implements EsSettingsMBean {
       .put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, replicationFactor)
       .put("cluster.name", getClusterName())
       .put("cluster.routing.allocation.awareness.attributes", "rack_id")
-      .put("node.rack_id", nodeName)
+      .put("node.attr.rack_id", nodeName)
       .put("node.name", nodeName)
       .put("node.data", true)
       .put("node.master", true);