You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/25 22:15:14 UTC
[lucene-solr] 01/16: @311 Hmm, can't respond to close like this,
it comes after connected even when close was not called ...
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit c3200889a701708953eab1c5edb69e90491fca88
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 22 15:27:14 2020 -0500
@311 Hmm, can't respond to close like this, it comes after connected even when close was not called ...
---
.../src/java/org/apache/solr/common/cloud/ConnectionManager.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java b/solr/solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java
index 2862485..0a97529 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java
@@ -265,9 +265,9 @@ public class ConnectionManager implements Watcher, Closeable {
disconnected();
connectionStrategy.disconnected();
} else if (state == KeeperState.Closed) {
- log.info("zkClient has disconnected");
- disconnected();
- connectionStrategy.disconnected();
+ log.info("zkClient state == closed");
+ //disconnected();
+ //connectionStrategy.disconnected();
} else if (state == KeeperState.AuthFailed) {
log.warn("zkClient received AuthFailed");
}