lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject RE: Nodes appear twice in state.json
Date Mon, 09 May 2016 10:54:36 GMT
Issue created!
https://issues.apache.org/jira/browse/SOLR-9089
 
-----Original message-----
> From:Shalin Shekhar Mangar <shalinmangar@gmail.com>
> Sent: Thursday 5th May 2016 12:58
> To: solr-user@lucene.apache.org
> Subject: Re: Nodes appear twice in state.json
> 
> Hmm not good. Definitely a new bug. Please open an issue.
> 
> Please look up the core node name in core.properties for that particular
> core and remove the other one from state.json manually. Probably best to do
> a cluster restart to avoid surprises. This is certainly uncharted territory.
> 
> On Wed, May 4, 2016 at 6:54 PM, Markus Jelsma <markus.jelsma@openindex.io>
> wrote:
> 
> > Hi - 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. We've seen this happen
> > before on some older 5.x versions. Is there a Jira issue i am missing? An
> > unknown issue?
> >
> > Also, how to fix this. How do we remove the double node from the
> > state.json?
> >
> > Many thanks!
> > Markus
> >
> > {"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"}}
> >
> >
> >
> >
> 
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.
> 

Mime
View raw message