This is an automated email from the ASF dual-hosted git repository. epugh pushed a commit to branch branch_9x in repository https://gitbox.apache.org/repos/asf/solr.git
commit 276101809709d5bea86772aa235207d4a871730d Author: Eric Pugh <[email protected]> AuthorDate: Fri Aug 23 08:30:45 2024 -0400 Lint checking after backport of PR#2656 --- .../solrj/src/java/org/apache/solr/client/solrj/impl/LBSolrClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/LBSolrClient.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/LBSolrClient.java index 49aed748da3..f62a69ea9cc 100644 --- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/LBSolrClient.java +++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/LBSolrClient.java @@ -785,7 +785,8 @@ public abstract class LBSolrClient extends SolrClient { ++numServersTried; request.setBasePath(wrapper.baseUrl); NamedList<Object> rsp = getClient(wrapper.baseUrl).request(request, collection); - // remove from zombie list *before* adding the alive list to avoid a race that could lose a server + // remove from zombie list *before* adding the alive list to avoid a race that could lose a + // server zombieServers.remove(wrapper.getBaseUrl()); addToAlive(wrapper); return rsp;
