lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Drews <>
Subject ClusterState says we are the leader, but locally we don't think so
Date Tue, 31 May 2016 16:15:45 GMT
We have seen the following error on four separate instances of Solr. The
result is that all or most shards go into "Down" state and do not recover
on restart of Solr.

I'm hoping one of you has some insight into what might be causing it as we
haven't been able to track down the issue or reproduce it reliably.

2016-05-26 21:00:09.000 ERROR (qtp1450821318-15) [c:log s:20160526
r:core_node4 x:log_20160526_replica1] o.a.s.c.SolrCore
org.apache.solr.common.SolrException: ClusterState says we are the leader (
https://localhost:8984/solr/log_20160526_replica1), but locally we don't
think so. Request came from

We were able to recover by using to
manually edit the /clusterstate.json and /collections/log/state.json to set
shards from "Down" to "Active". After that the error subsided and
functionality was restored.

A few notes:
- All four systems were on either Windows 7 or Windows Server 2012.
- All four systems are on single servers with embedded zookeepers.
- SSL was enabled in Solr, but no authentication
- After the issue, we increased the zkClientTimeout and restarted, however
all shards were still in a Down state and error persisted.
- Migrating the solr instance to a new Windows install did not solve issue.

Please let me know if you have any ideas as to why this is happening and
possible solutions. Thanks!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message