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 7f1b94f612b  added more debugging
7f1b94f612b is described below

commit 7f1b94f612b1d5011bc21ae90def7699008d0a0e
Author: Noble Paul <[email protected]>
AuthorDate: Wed Feb 22 00:14:33 2023 +1100

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

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 c9dd8dd6aaa..3709853791b 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
@@ -1905,6 +1905,7 @@ public class ZkStateReader implements SolrCloseable {
       final String collection, long wait, TimeUnit unit, 
CollectionStatePredicate predicate)
       throws InterruptedException, TimeoutException {
 
+    log.info("1Waiting up to {}ms for state {}", unit.toMillis(wait), 
predicate);
     if (closed) {
       throw new AlreadyClosedException();
     }
@@ -1963,6 +1964,8 @@ public class ZkStateReader implements SolrCloseable {
   public DocCollection waitForState(
       final String collection, long wait, TimeUnit unit, 
Predicate<DocCollection> predicate)
       throws InterruptedException, TimeoutException {
+    log.info("2Waiting up to {}ms for state {}", unit.toMillis(wait), 
predicate);
+
     if (log.isDebugEnabled()) {
       log.debug("Waiting up to {}ms for state {}", unit.toMillis(wait), 
predicate);
     }

Reply via email to