lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-11545) Core name suffixes can be the same number as core node name suffixes
Date Wed, 25 Oct 2017 00:44:00 GMT
Varun Thacker created SOLR-11545:
------------------------------------

             Summary: Core name suffixes can be the same number as core node name suffixes
                 Key: SOLR-11545
                 URL: https://issues.apache.org/jira/browse/SOLR-11545
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Varun Thacker
            Priority: Trivial


{code}
{"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"}}}}}}
{code}

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 . 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message