You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/05 19:44:18 UTC

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

    [ https://issues.apache.org/jira/browse/LUCENE-5600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989757#comment-13989757 ] 

ASF subversion and git services commented on LUCENE-5600:
---------------------------------------------------------

Commit 1592584 from [~mikemccand] in branch 'dev/branches/lucene_solr_4_8'
[ https://svn.apache.org/r1592584 ]

LUCENE-5599, LUCENE-5600, LUCENE-5628: backport to 4.8.x

> 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