Jerry Chung created SOLR-17768:
----------------------------------
Summary: Solr client might not be closed in AdminHandlersProxy
Key: SOLR-17768
URL: https://issues.apache.org/jira/browse/SOLR-17768
Project: Solr
Issue Type: Bug
Components: Server
Affects Versions: 9.6.1
Reporter: Jerry Chung
{{ for (Map.Entry<String, Pair<Future<NamedList<Object>>, SolrClient>> entry
:}}
{{ responses.entrySet()) {}}
{{ try {}}
{{ NamedList<Object> resp = entry.getValue().first().get(10,
TimeUnit.SECONDS);}}
{{ entry.getValue().second().close();}}
{{ rsp.add(entry.getKey(), resp);}}
{{ } catch (ExecutionException ee) {}}
{{ log.warn("Exception when fetching result from node {}",
entry.getKey(), ee);}}
{{ } catch (TimeoutException te) {}}
{{ log.warn("Timeout when fetching result from node {}", entry.getKey(),
te);}}
{{ }}}
{{ }}}
`{{{}entry.getValue().second().close();` might not be called in case of
errors{}}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]