mirror of https://github.com/apache/lucene.git
SOLR-7178: OverseerAutoReplicaFailoverThread compares Integer objects using ==
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
68f87360dd
commit
eb8079c050
|
@ -167,7 +167,10 @@ Bug Fixes
|
|||
(Pablo Queixalos, shalin)
|
||||
|
||||
* SOLR-7139: Fix SolrContentHandler for TIKA to ignore multiple startDocument events.
|
||||
(Chris A. Mattmann, Uwe Schindler)
|
||||
(Chris A. Mattmann, Uwe Schindler)
|
||||
|
||||
* SOLR-7178: OverseerAutoReplicaFailoverThread compares Integer objects using ==
|
||||
(shalin)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
|
|
@ -152,7 +152,8 @@ public class OverseerAutoReplicaFailoverThread implements Runnable, Closeable {
|
|||
return;
|
||||
}
|
||||
if (clusterState != null) {
|
||||
if (lastClusterStateVersion == clusterState.getZkClusterStateVersion() && baseUrlForBadNodes.size() == 0 &&
|
||||
if (clusterState.getZkClusterStateVersion() != null &&
|
||||
clusterState.getZkClusterStateVersion().equals(lastClusterStateVersion) && baseUrlForBadNodes.size() == 0 &&
|
||||
liveNodes.equals(clusterState.getLiveNodes())) {
|
||||
// nothing has changed, no work to do
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue