Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-6880: Remove this assert that can fail various tests.

Mark Robert Miller10b501395bfd
diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java b/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java
index 09d710561ca..07c09fa5a3f 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java
@@ -455,7 +455,6 @@ public class ZkStateReader implements Closeable {
synchronized (this) {
if (watchedCollections.contains(s)) {
DocCollection live = getCollectionLive(this, s);
- assert live != null;
if (live != null) {
watchedCollectionStates.put(s, live);
// if it is a watched collection, add too