[jira] Commented: (SOLR-1885) StreamingUpdateSolrServer hangs

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

[jira] Commented: (SOLR-1885) StreamingUpdateSolrServer hangs

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879527#action_12879527 ]

Erik Hetzner commented on SOLR-1885:
------------------------------------

I have been reliably encountering this error; however it takes me a day or two to get there.

I have attached a change which may fix this - I will let you know in day or two. This change ensures that a call is made to method.releaseConnection() for every call to executeMethod(method), [http://hc.apache.org/httpclient-3.x/threading.html]. The current version of StreamingUpdateSolrServer only calls releaseConnection once for possibly more than one update call (the posts are wrapped in a do...while block).



> StreamingUpdateSolrServer hangs
> -------------------------------
>
>                 Key: SOLR-1885
>                 URL: https://issues.apache.org/jira/browse/SOLR-1885
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>             Fix For: Next
>
>         Attachments: TestSolrJPerf.java
>
>
> Looks like we may still have a hanging issue:
> http://search.lucidimagination.com/search/document/90c4a942e18ad572/streamingupdatesolrserver_hangs

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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