[
https://issues.apache.org/jira/browse/SOLR-10487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972376#comment-15972376
]
Goutam Mandal commented on SOLR-10487:
--------------------------------------
[~elyograg], thanks for helping with building the HttpClient :) Also replacing
HttpClient reference with CloseableHttpClient gave a cleaner approach. Did away
with the unnecessary typecasting.
QUERY_TIMEOUT is supposed to take precedence over TIMEOUT attribute. Did not
remove TIMEOUT as it would affect upgrading from older version. Missed the
changes while merging from Solr 6 branch (my cluster runs on Solr 6.2).
Incorporated above changes in the attached patch. Also pushed to forked repo.
> 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: master (7.0)
> Reporter: Goutam Mandal
> Priority: Minor
> Labels: easyfix
> Attachments: SOLR-10487.patch
>
>
> 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]