You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Elizaveta Golova <EG...@uk.ibm.com> on 2019/10/29 18:10:09 UTC

Re: [EXTERNAL] Re: colStatus response not as expected with Solr 8.1.1 in a distributed deployment

colStatus (and clusterStatus) from the Collections api.
https://lucene.apache.org/solr/guide/8_1/collections-api.html#colstatus


Running something like this in the browser where the live solr node is accessible on port 8983 (but points at a Docker container which is running the Solr node):
http://localhost:8983/solr/admin/collections?action=COLSTATUS&collection=coll




-----Erick Erickson <er...@gmail.com> wrote: -----
To: solr-user@lucene.apache.org
From: Erick Erickson <er...@gmail.com>
Date: 10/29/2019 05:39PM
Subject: [EXTERNAL] Re: colStatus response not as expected with Solr 8.1.1 in a distributed deployment


Uhm, what is colStatus? You need to show us _exactly_ what Solr commands you’re running for us to make any intelligent comments.

> On Oct 29, 2019, at 1:12 PM, Elizaveta Golova <EG...@uk.ibm.com> wrote:
>
> Hi,
>
> We're seeing an issue with colStatus in a distributed Solr deployment.
>
> Scenario:
> Collection with:
> - 1 zk
> - 2 solr nodes on different boxes (simulated using Docker containers)
> - replication factor 5
>
> When we take down one node, our clusterStatus response is as expected (only listing the live node as live, and anything on the "down" node shows the state as down).
>
> Our colStatus response however continues to shows every shard as being "active" with the replica breakdown on every shard as "total" == "active", and "down" always being zero.
> i.e.
> "shards":{
> "shard1":{
> "state":"active",
> "range":"80000000-ffffffff",
> "replicas":{
> "total":5,
> "active":5,
> "down":0,
> "recovering":0,
> "recovery_failed":0},
>
> Even though we expect the "down" count to be either 3 or 2 depending on the shard (and thus "active" being of count 2 or 3 less than it is).
>
> When testing this situation with both Solr nodes being on the same box, the colStatus response is as expected in regards to the replica counts.
>
> Thanks!Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU