This is an automated email from the ASF dual-hosted git repository.

noble pushed a commit to branch jira/solr16636_test
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/jira/solr16636_test by this 
push:
     new 7e0263d4c31  added more debugging 3
7e0263d4c31 is described below

commit 7e0263d4c31d516049167169a4f6e1597713e6ce
Author: Noble Paul <[email protected]>
AuthorDate: Wed Feb 22 18:34:54 2023 +1100

     added more debugging 3
---
 .../src/java/org/apache/solr/common/cloud/ZkStateReader.java         | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java 
b/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
index e19f4aeca92..b8d9c84a6ef 100644
--- 
a/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
+++ 
b/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
@@ -1914,7 +1914,10 @@ public class ZkStateReader implements SolrCloseable {
       log.warn("fetch threw exception",e);
       //do not do anything
     }
-    if (coll != null && predicate.matches(liveNodes, coll)) return;
+    if (coll != null && predicate.matches(liveNodes, coll)) {
+      log.info("bypassed collection watch");
+      return;
+    }
 
     final CountDownLatch latch = new CountDownLatch(1);
     waitLatches.add(latch);

Reply via email to