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

Goutam Mandal commented on SOLR-10487:
--------------------------------------

Hi [~elyograg], the socket timeout has been increased to 305 sec (little more 
than the default query timeout).
And thanks for bringing the open SolrClientBuilder issue in view. At this 
moment, I cannot see a way of setting the timeout values at HttpClient level. 
The values are to be set in HttpSolrClient object. The connectionTimeout and 
socketTimeout values come into effect by passing them to HttpClient.execute() 
method (wrapped in HttpRequestBase object). Probably it is best to wait for the 
SolrClientBuilder task to be completed.

> Add connection/read timeout for SolrEntityProcessor in DataImportHandler
> ------------------------------------------------------------------------
>
>                 Key: SOLR-10487
>                 URL: https://issues.apache.org/jira/browse/SOLR-10487
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - DataImportHandler
>    Affects Versions: trunk
>            Reporter: Goutam Mandal
>            Priority: Minor
>              Labels: easyfix
>
> This issue pertains to SolrEntityProcessor for importing documents from one 
> Solr to another over HTTP. There have been instances when the 
> DataImportHandler (DIH) hangs due to network/LB level issues. The abort 
> command fails to stop the in-progress frozen import process. The DIH remains 
> in this state for days and does not accept new request for import until Solr 
> restart. The current implementation of SolrEntityProcessor has timeout at 
> query level only.
> There should be option to specify connection as well as socket read timeouts. 
> The import process must fail in case of any anomaly and not remain in hung 
> state.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to