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

ASF GitHub Bot commented on SOLR-10487:
---------------------------------------

GitHub user gmandal opened a pull request:

    https://github.com/apache/lucene-solr/pull/184

    Solr 10487

    Includes changes for 
[SOLR-10487](https://issues.apache.org/jira/browse/SOLR-10487).
    Added two more attributes to 
[SolrEntityProcessor](https://wiki.apache.org/solr/DataImportHandler#SolrEntityProcessor)
 in DataImportHandler.
    `connectionTimeout` to set the Connection Timeout
    `readTimeout` to set Socket Read Timeout 
    Additionally renamed timeout to queryTimeout to differentiate between the 
various timeouts. The older `timeout` is still retained to ensure backward 
compatibility. `timeout `would act same as `queryTimeout`.
    The two new attributes would accept values in the same format and unit (int 
seconds) as the existing query timeout attribute.
    
    Please guide where to make changes to include documentation for the new 
attributes. As of now I have detailed them in the issue page only.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gmandal/lucene-solr SOLR-10487

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/184.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #184
    
----
commit cb498e7058bae9df11f3c379118000e1072ae390
Author: Goutam.Mandal <[email protected]>
Date:   2017-04-13T09:02:52Z

    Added support to specify connection and socket read timeout.

commit f8b02ca1ddee628f875f5a566e51aa75de8e89bc
Author: Goutam.Mandal <[email protected]>
Date:   2017-04-13T09:06:14Z

    Revert "Added support to specify connection and socket read timeout."
    
    This reverts commit cb498e7058bae9df11f3c379118000e1072ae390.

commit d4bca6ec5a0814080b21d1e3c4b2301938c99176
Author: gmandal <[email protected]>
Date:   2017-04-13T09:14:51Z

    Added support to specify connection and socket read timeout in
    DataImportHandler for SolrEntityProcessor

commit 0e9a25901b1e598e718ce6e0375db9713b7e4f2c
Author: gmandal <[email protected]>
Date:   2017-04-13T09:24:27Z

    SOLR-10487: Added support to specify connection and socket read timeout in 
DataImportHandler for SolrEntityProcessor

commit b55375f94b7d5de66893ffdec6384f16661c54f7
Author: gmandal <[email protected]>
Date:   2017-04-13T09:31:14Z

    Merge branch 'SOLR-10487' of https://github.com/gmandal/lucene-solr into 
SOLR-10487

----


> 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