[
https://issues.apache.org/jira/browse/SOLR-14820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17189052#comment-17189052
]
Thomas Wöckinger commented on SOLR-14820:
-----------------------------------------
Using API to get cluster state delivers correct values:
{code:java}
// {
"responseHeader":{
"status":0,
"QTime":4},
"cluster":{
"collections":{
"FY_XXX":{
"pullReplicas":"0",
"replicationFactor":"1",
"shards":{"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{"core_node2":{
"core":"FY_XXX_shard1_replica_n1",
"base_url":"https://10.133.48.65:8984/solr",
"node_name":"10.133.48.65:8984_solr",
"state":"active",
"type":"NRT",
"force_set_state":"false",
"leader":"true"}}}},
"router":{"name":"compositeId"},
"maxShardsPerNode":"1",
"autoAddReplicas":"false",
"nrtReplicas":"1",
"tlogReplicas":"0",
"znodeVersion":7,
"configName":"FY_XXX"},
"FY_INFO_XXX":{
"pullReplicas":"0",
"replicationFactor":"1",
"shards":{"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{"core_node2":{
"core":"FY_INFO_XXX_shard1_replica_n1",
"base_url":"https://10.133.48.65:8984/solr",
"node_name":"10.133.48.65:8984_solr",
"state":"active",
"type":"NRT",
"force_set_state":"false",
"leader":"true"}}}},
"router":{"name":"compositeId"},
"maxShardsPerNode":"1",
"autoAddReplicas":"false",
"nrtReplicas":"1",
"tlogReplicas":"0",
"znodeVersion":7,
"configName":"FY_INFO_XXX"}},
"properties":{"urlScheme":"https"},
"live_nodes":["10.133.48.64:8984_solr",
"10.133.48.66:8984_solr",
"10.133.48.65:8984_solr"]}}
{code}
{{}}
> Create replica is broken
> ------------------------
>
> Key: SOLR-14820
> URL: https://issues.apache.org/jira/browse/SOLR-14820
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: replication (java), Server
> Affects Versions: 8.6, 8.5.1, 8.5.2, 8.6.1, 8.6.2
> Reporter: Thomas Wöckinger
> Priority: Critical
>
> Creating an additional replica for a collection fails because live nodes are
> not valid
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]