You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2016/05/09 10:54:12 UTC

[jira] [Created] (SOLR-9089) Nodes appear twice in state.json

Markus Jelsma created SOLR-9089:
-----------------------------------

             Summary: Nodes appear twice in state.json
                 Key: SOLR-9089
                 URL: https://issues.apache.org/jira/browse/SOLR-9089
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 6.0
            Reporter: Markus Jelsma
             Fix For: 6.0.1, master


We've just upgraded a development environment from 5.5 to Solr 6.0. After the upgrade, which went fine, we see two replica's appear twice in the cloud view (see below), both being leader.

{code}
{"search":{ 
    "replicationFactor":"3", 
    "shards":{ 
      "shard1":{ 
        "range":"80000000-ffffffff", 
        "state":"active", 
        "replicas":{ 
          "core_node6":{ 
            "core":"search_shard1_replica1", 
            "base_url":"http://idx5.oi.dev:8983/solr", 
            "node_name":"idx5.oi.dev:8983_solr", 
            "state":"down"}, 
          "core_node2":{ 
            "core":"search_shard1_replica2", 
            "base_url":"http://idx2.oi.dev:8983/solr", 
            "node_name":"idx2.oi.dev:8983_solr", 
            "state":"active", 
            "leader":"true"}, 
          "core_node3":{ 
            "core":"search_shard1_replica2", 
            "base_url":"http://idx2.oi.dev:8983/solr", 
            "node_name":"idx2.oi.dev:8983_solr", 
            "state":"down", 
            "leader":"true"}, 
          "core_node5":{ 
            "core":"search_shard1_replica3", 
            "base_url":"http://idx3.oi.dev:8983/solr", 
            "node_name":"idx3.oi.dev:8983_solr", 
            "state":"down"}}}, 
      "shard2":{ 
        "range":"0-7fffffff", 
        "state":"active", 
        "replicas":{ 
          "core_node1":{ 
            "core":"search_shard2_replica1", 
            "base_url":"http://idx4.oi.dev:8983/solr", 
            "node_name":"idx4.oi.dev:8983_solr", 
            "state":"down"}, 
          "core_node2":{ 
            "core":"search_shard2_replica2", 
            "base_url":"http://idx6.oi.dev:8983/solr", 
            "node_name":"idx6.oi.dev:8983_solr", 
            "state":"down"}, 
          "core_node4":{ 
            "core":"search_shard2_replica3", 
            "base_url":"http://idx1.oi.dev:8983/solr", 
            "node_name":"idx1.oi.dev:8983_solr", 
            "state":"active", 
            "leader":"true"}}}}, 
    "router":{"name":"compositeId"}, 
    "maxShardsPerNode":"1", 
    "autoAddReplicas":"false"}} 
{code}

See: http://lucene.472066.n3.nabble.com/Nodes-appear-twice-in-state-json-td4274504.html#none



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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