You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/12/01 22:37:01 UTC

[jira] [Commented] (SOLR-11256) Provide default for ConcurrentUpdateSolrClient's "queueSize" param

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

ASF subversion and git services commented on SOLR-11256:
--------------------------------------------------------

Commit d9047125f97b682f7046b649b20cf54afba0225d in lucene-solr's branch refs/heads/branch_7x from [~anshumg]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d904712 ]

SOLR-11256: The queue size for ConcurrentUpdateSolrClient should default to 10 instead of throwing an IllegalArgumentException


> Provide default for ConcurrentUpdateSolrClient's "queueSize" param
> ------------------------------------------------------------------
>
>                 Key: SOLR-11256
>                 URL: https://issues.apache.org/jira/browse/SOLR-11256
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: master (8.0)
>            Reporter: Jason Gerlowski
>            Assignee: Anshum Gupta
>            Priority: Minor
>         Attachments: SOLR-11256.patch, SOLR-11256.patch
>
>
> A user on the mailing list recently pointed out that if it's not specified explicitly as a Builder option, ConcurrentUpdateSolrClient will default to using a queueSize of 0.  This value gets passed in to the underlying queue data structure which throws an IllegalArgumentException, with an error message that isn't obvious to those unfamiliar with the internals.
> We should provide a better default than the uninitialized-variable default of 0.  Almost all occurrences in the code fall between 5 and 10, so a queueSize in that range should be uncontroversial.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org