Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11545

Core name suffixes can be the same number as core node name suffixes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      {"gettingstarted":{
          "pullReplicas":"0",
          "replicationFactor":"2",
          "router":{"name":"compositeId"},
          "maxShardsPerNode":"-1",
          "autoAddReplicas":"false",
          "nrtReplicas":"1",
          "tlogReplicas":"0",
          "shards":{
            "shard1":{
              "range":"80000000-ffffffff",
              "state":"active",
              "replicas":{
                "core_node3":{
                  "core":"gettingstarted_shard1_replica_n1",
                  "base_url":"http://172.16.0.83:8983/solr",
                  "node_name":"172.16.0.83:8983_solr",
                  "state":"active",
                  "type":"NRT",
                  "leader":"true"},
                "core_node6":{
                  "core":"gettingstarted_shard1_replica_n2",
                  "base_url":"http://172.16.0.83:7574/solr",
                  "node_name":"172.16.0.83:7574_solr",
                  "state":"active",
                  "type":"NRT"}}},
            "shard2":{
              "range":"0-7fffffff",
              "state":"active",
              "replicas":{
                "core_node7":{
                  "core":"gettingstarted_shard2_replica_n4",
                  "base_url":"http://172.16.0.83:8983/solr",
                  "node_name":"172.16.0.83:8983_solr",
                  "state":"active",
                  "type":"NRT",
                  "leader":"true"},
                "core_node8":{
                  "core":"gettingstarted_shard2_replica_n5",
                  "base_url":"http://172.16.0.83:7574/solr",
                  "node_name":"172.16.0.83:7574_solr",
                  "state":"active",
                  "type":"NRT"}}}}}}
      

      Here if the X integer was same in both `core_nodeX` and `gettingstarted_shard1_replica_nX` it would make it easier to read I guess. Also the solr admin ui has the core name displayed . Now that i now the value of X I know the replica name as well .

      Attachments

        Activity

          People

            Unassigned Unassigned
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: