[ 
https://issues.apache.org/jira/browse/SOLR-6619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vamsee Yarlagadda updated SOLR-6619:
------------------------------------
    Attachment: SOLR-6619.patch

Here is the patch to write "</stream>" as part of finally block.

> 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
>         Attachments: SOLR-6619.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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]

Reply via email to