[
https://issues.apache.org/jira/browse/SOLR-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922132#action_12922132
]
Mark Miller commented on SOLR-2172:
-----------------------------------
{noformat}
Index: solr/src/java/org/apache/solr/cloud/ZkController.java
===================================================================
--- solr/src/java/org/apache/solr/cloud/ZkController.java (revision
1023871)
+++ solr/src/java/org/apache/solr/cloud/ZkController.java (working copy)
@@ -377,6 +377,13 @@
}
}
zkClient.getChildren(ZkStateReader.LIVE_NODES_ZKNODE, liveNodeWatcher);
+ try {
+ zkStateReader.updateLiveNodes();
+ } catch (IOException e) {
+ log.error("", e);
+ throw new ZooKeeperException(SolrException.ErrorCode.SERVER_ERROR,
+ "", e);
+ }
}
public String getNodeName() {
{noformat}
> ZkController should update it's live node set after registering itself
> ----------------------------------------------------------------------
>
> Key: SOLR-2172
> URL: https://issues.apache.org/jira/browse/SOLR-2172
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Minor
> Fix For: 4.0
>
>
> to be sure it's own entry is in the it's current cloud state
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]