You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ds...@apache.org on 2026/08/08 04:19:55 UTC
(solr) 07/14: SOLR-18188: httpClient is left open causing flaky nightly o.a.s.cloud.ChaosMonkeyNothingIsSafeTest (#4709)
This is an automated email from the ASF dual-hosted git repository.
dsmiley pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/solr.git
commit 3b2b468717ed348743a6d74d32cee826839afcd6
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Thu Aug 6 09:32:11 2026 -0400
SOLR-18188: httpClient is left open causing flaky nightly o.a.s.cloud.ChaosMonkeyNothingIsSafeTest (#4709)
(cherry picked from commit a3d9b52f35b24035c05dcd0ea8900a9b0e32d13b)
---
.../java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java b/solr/test-framework/src/java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java
index 30c8f67d406..6396f109b67 100644
--- a/solr/test-framework/src/java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java
+++ b/solr/test-framework/src/java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java
@@ -31,6 +31,7 @@ import org.apache.solr.client.solrj.impl.HttpSolrClient;
import org.apache.solr.client.solrj.jetty.ConcurrentUpdateJettySolrClient;
import org.apache.solr.client.solrj.jetty.HttpJettySolrClient;
import org.apache.solr.common.SolrInputDocument;
+import org.apache.solr.common.util.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -145,6 +146,7 @@ class FullThrottleStoppableIndexingThread extends StoppableIndexingThread {
log.warn("Exception waiting for the indexing client to finish", e);
} finally {
cusc.shutdownNow();
+ IOUtils.closeQuietly(httpClient);
}
}