ZK has the list of live nodes available as a set of ephemeral nodes. You
can use /zookeeper on Solr or talk to ZK directly to get that list.
On 24 Aug 2014 03:08, "Nathan Neulinger" <nn...@neulinger.org> wrote:

> Is there a way to query the 'live node' state without sending a query to
> every node myself? i.e. to get the same data that is used for that cloud
> status screen?
>
> -- Nathan
>
> On 08/23/2014 06:39 PM, Mark Miller wrote:
>
>> The state is actually a combo of the state in clusterstate and the live
>> nodes. If the live node is not there, it's gone regardless of the last
>> state it published.
>>
>> - Mark
>>
>>  On Aug 23, 2014, at 6:00 PM, Nathan Neulinger <nn...@neulinger.org>
>>> wrote:
>>>
>>> In particular, a shard being 'active' vs. 'gone'.
>>>
>>> The web ui is clearly showing the given replicas as being in "Gone"
>>> state when I shut down a server, yet the CLUSTERSTATUS says that each
>>> replica has state: "active"
>>>
>>> Is there any way to ask it for status that will reflect that the replica
>>> is gone?
>>>
>>> This is with 4.8.0.
>>>
>>> -- Nathan
>>>
>>> ------------------------------------------------------------
>>> Nathan Neulinger                       nn...@neulinger.org
>>> Neulinger Consulting                   (573) 612-1412
>>>
>>
> --
> ------------------------------------------------------------
> Nathan Neulinger                       nn...@neulinger.org
> Neulinger Consulting                   (573) 612-1412
>

Reply via email to