You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2026/08/06 13:32:18 UTC

(solr) branch main updated: 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.

epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new a3d9b52f35b SOLR-18188: httpClient is left open causing flaky nightly o.a.s.cloud.ChaosMonkeyNothingIsSafeTest (#4709)
a3d9b52f35b is described below

commit a3d9b52f35b24035c05dcd0ea8900a9b0e32d13b
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)
---
 .../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);
     }
   }