[
https://issues.apache.org/jira/browse/SOLR-8416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062370#comment-15062370
]
Mark Miller commented on SOLR-8416:
-----------------------------------
bq. Should probably check if the replicas node is listed under live nodes as
well as if it's active?
bq. Can you give me more details about it?
For technical reasons, the actual state of a replica is a combination of
whether it's ephemeral live node exists in zookeeper and the state listed in
the cluster state. We make a best effort on shutdown to publish DOWN for all
the states, but it's simply best effort and crashes and other probably common
things can mean any state is in the cluster state. You can really only count on
it being an accurate state if you also check that the node is live. The
ClusterState object has a helper method for this if I remember right.
> Solr collection creation API should return after all cores are alive
> ---------------------------------------------------------------------
>
> Key: SOLR-8416
> URL: https://issues.apache.org/jira/browse/SOLR-8416
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Reporter: Michael Sun
> Attachments: SOLR-8416.patch, SOLR-8416.patch
>
>
> Currently the collection creation API returns once all cores are created. In
> large cluster the cores may not be alive for some period of time after cores
> are created. For any thing requested during that period, Solr appears
> unstable and can return failure. Therefore it's better the collection
> creation API waits for all cores to become alive and returns after that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]