[
https://issues.apache.org/jira/browse/SOLR-16593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678438#comment-17678438
]
Noble Paul commented on SOLR-16593:
-----------------------------------
The fact is this information is redundant. The json hierarchy already has the
collection, shard and replica names. So, each replica is constructed with these
. So, these values are already available
> Redundant fields are present in the replica object of state.json
> ----------------------------------------------------------------
>
> Key: SOLR-16593
> URL: https://issues.apache.org/jira/browse/SOLR-16593
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Fix For: 9.2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The following is the new state,json
> {quote}{"shards":{"shard0":{
> "shard_range":"7c000000-7c1fffff",
> "replicas":{"core_node0":{
> "core":"replicacore",
> "leader":"true",
> "core_node_name":"test1_shard0_replica_n0",
> "node_name":"localhost:8983_solr",
> "base_url":"https://localhost",
> "state":"active",
> "collection":"test1",
> "shard":"shard0",
> "type":"NRT",
> "force_set_state":"false"}},
> "state":"active"}}}
> {quote}
> The following fields are added and they look redundant to me
> # "collection":"test1"
> # "shard":"shard0"
> # "core_node_name":"test1_shard0_replica_n0"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]