Junhao Li created SOLR-6619:
-------------------------------
Summary: Improperly handle the InteruptedException in
ConccurentUpdateSolrServer
Key: SOLR-6619
URL: https://issues.apache.org/jira/browse/SOLR-6619
Project: Solr
Issue Type: Bug
Reporter: Junhao Li
Priority: Minor
ConccurentUpdateSolrServer
"""
if (isXml) {
out.write("</stream>".getBytes(StandardCharsets.UTF_8));
}
"""
should be moved to the finally statement.
If InteruptedException is raised, it will send the wrong xml document without
"</stream>" to the server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]