lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject lucene-solr:branch_6_6: SOLR-11503: In ZkController.waitForCoreNodeName(), persist core.properties after setting the coreNodeName
Date Fri, 02 Mar 2018 18:46:59 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6_6 2d0c3e1f9 -> d1e9bbd33


SOLR-11503: In ZkController.waitForCoreNodeName(), persist core.properties after setting the
coreNodeName


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/d1e9bbd3
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/d1e9bbd3
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/d1e9bbd3

Branch: refs/heads/branch_6_6
Commit: d1e9bbd333ea55cfa0c75d324424606e857a775b
Parents: 2d0c3e1
Author: Steve Rowe <sarowe@apache.org>
Authored: Fri Mar 2 13:46:50 2018 -0500
Committer: Steve Rowe <sarowe@apache.org>
Committed: Fri Mar 2 13:46:50 2018 -0500

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/cloud/ZkController.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d1e9bbd3/solr/core/src/java/org/apache/solr/cloud/ZkController.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/cloud/ZkController.java b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
index 182af5f..0ed0523 100644
--- a/solr/core/src/java/org/apache/solr/cloud/ZkController.java
+++ b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
@@ -1316,6 +1316,7 @@ public class ZkController {
             if (msgNodeName.equals(nodeName) && core.equals(msgCore)) {
               descriptor.getCloudDescriptor()
                   .setCoreNodeName(replica.getName());
+              getCoreContainer().getCoresLocator().persist(getCoreContainer(), descriptor);
               return;
             }
           }


Mime
View raw message