You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Shashi Kant Santosh (Jira)" <ji...@apache.org> on 2019/10/17 12:34:00 UTC

[jira] [Created] (SOLR-13853) SolrCloud >> Collections API >> Shards state does not correctly reflect underlying replicas state

Shashi Kant Santosh created SOLR-13853:
------------------------------------------

             Summary: SolrCloud >> Collections API >> Shards state does not correctly reflect underlying replicas state
                 Key: SOLR-13853
                 URL: https://issues.apache.org/jira/browse/SOLR-13853
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 7.5
            Reporter: Shashi Kant Santosh
         Attachments: SolrCloudIssue.png

*Deployment details:*
 * SolrCloud deployed with 4 solr nodes.
 * External ZooKeeper ensemble with 3 nodes.

*Issue:*
 * It is observed that during upgrading the Solr nodes shards state does not correctly reflect the underlying replicas state.
 * We could see that the shard2 state is active, but it's both the replicas are recovering and down.

 solr@zmc-solr-0:/opt/solr$ curl --silent "http://localhost:8983/solr/admin/collections?action=CLUSTERSTATUS&collection=mailbox_index_data" | jq '.cluster.collections.mailbox_index_data.shards'
 {
 "shard1": {
 "range": "80000000-ffffffff",
 "state": "active",
 "replicas": {
 "core_node3":

{ "core": "mailbox_index_data_shard1_replica_n1", "base_url": "http://zmc-solr-1.zmc-solr:8983/solr", "node_name": "zmc-solr-1.zmc-solr:8983_solr", "state": "active", "type": "NRT", "force_set_state": "false" }

,
 "core_node5":

{ "core": "mailbox_index_data_shard1_replica_n2", "base_url": "http://zmc-solr-0.zmc-solr:8983/solr", "node_name": "zmc-solr-0.zmc-solr:8983_solr", "state": "active", "type": "NRT", "force_set_state": "false", "leader": "true" }

}
 },
 "shard2": {
 "range": "0-7fffffff",
 "state": "*active*",
 "replicas": {
 "core_node7":

{ "core": "mailbox_index_data_shard2_replica_n4", "base_url": "http://zmc-solr-3.zmc-solr:8983/solr", "node_name": "zmc-solr-3.zmc-solr:8983_solr", "state": "*recovering*", "type": "NRT", "force_set_state": "false" }

,
 "core_node8":

{ "core": "mailbox_index_data_shard2_replica_n6", "base_url": "http://zmc-solr-2.zmc-solr:8983/solr", "node_name": "zmc-solr-2.zmc-solr:8983_solr", "state": "*down*", "type": "NRT", "force_set_state": "false" }

}
 }
 }

*Attachement/s*
 * Uploaded Attachment to Jira ticket.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org