You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2014/04/17 18:11:18 UTC

[jira] [Resolved] (LUCENE-5600) HttpReplicator does not properly handle server failures

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

Shai Erera resolved LUCENE-5600.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.9
         Assignee: Shai Erera

Committed to trunk and 4x. Thanks Christoph!

> HttpReplicator does not properly handle server failures
> -------------------------------------------------------
>
>                 Key: LUCENE-5600
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5600
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/replicator
>    Affects Versions: 4.7.1
>            Reporter: Christoph Kaser
>            Assignee: Shai Erera
>             Fix For: 4.9, 5.0
>
>         Attachments: HttpClientBase-LUCENE-5600.java.patch, HttpReplicatorTest.patch, LUCENE-5600.patch
>
>
> When ReplicationClient.updateNow() using an HttpReplicator encounters a server error (like Status Code 500), it throws a runtime exception instead of an IOException.
> Furthermore, it does not close the HttpClient it used, which leads to an Error if a BasicClientConnectionManager is used



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org