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

Shawn Heisey commented on SOLR-5741:
------------------------------------

Thanks for the sanity check.  I'll go ahead.

On a related note, I notice that HttpShardHandlerFactory has an option to set 
the max per host, but not the max total.  I don't know how everything 
interacts, so I don't know if that should also get an update.


> UpdateShardHandler not setting max connections correctly
> --------------------------------------------------------
>
>                 Key: SOLR-5741
>                 URL: https://issues.apache.org/jira/browse/SOLR-5741
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, update
>    Affects Versions: 4.6.1
>            Reporter: Shawn Heisey
>              Labels: patch
>             Fix For: 4.7, 5.0
>
>         Attachments: SOLR-5741.patch
>
>
> The following line in UpdateShardHandler.java looks incorrect to me:
> {code}
> clientConnectionManager.setDefaultMaxPerRoute(cfg.getMaxUpdateConnections());
> {code}
> I think it should be:
> {code}
> clientConnectionManager.setMaxTotal(cfg.getMaxUpdateConnections());
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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

Reply via email to