[jira] [Updated] (SOLR-6619) Improperly handle the InteruptedException in ConccurentUpdateSolrServer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (SOLR-6619) Improperly handle the InteruptedException in ConccurentUpdateSolrServer

JIRA jira@apache.org

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

Cassandra Targett updated SOLR-6619:
------------------------------------
    Component/s: clients - java

> Improperly handle the InteruptedException in ConccurentUpdateSolrServer
> ------------------------------------------------------------------------
>
>                 Key: SOLR-6619
>                 URL: https://issues.apache.org/jira/browse/SOLR-6619
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>            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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]