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

Marc Morissette edited comment on SOLR-12550 at 2/20/20 4:58 AM:
-----------------------------------------------------------------

Thank you for your comments [~bim] and [~shalin]. I have amended my pull 
request to address them.

It has also been rebased and tested on a more recent pull of master.


was (Author: marc.morissette):
Thank you for your comments [~bim] and [~shalin]. I have amended my pull 
request accordingly.

It has also been rebased and tested on a more recent pull of master.

> ConcurrentUpdateSolrClient doesn't respect timeouts for commits and optimize
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-12550
>                 URL: https://issues.apache.org/jira/browse/SOLR-12550
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Marc Morissette
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> We're in a situation where we need to optimize some of our collections. These 
> optimizations are done with waitSearcher=true as a simple throttling 
> mechanism to prevent too many collections from being optimized at once.
> We're seeing these optimize commands return without error after 10 minutes 
> but well before the end of the operation. Our Solr logs show errors with 
> socketTimeout stack traces. Setting distribUpdateSoTimeout to a higher value 
> has no effect.
> See the links section for my patch.
> It turns out that ConcurrentUpdateSolrClient delegates commit and optimize 
> commands to a private HttpSolrClient but fails to pass along its builder's 
> timeouts to that client.
> A patch is attached in the links section.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to