[
https://issues.apache.org/jira/browse/SOLR-8255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996707#comment-14996707
]
ASF subversion and git services commented on SOLR-8255:
-------------------------------------------------------
Commit 1713458 from [~romseygeek] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1713458 ]
SOLR-8255: MiniSolrCloudCluster should use a thread-safe list to hold its child
nodes
> MiniSolrCloudCluster doesn't use a thread-safe list for its jetties
> -------------------------------------------------------------------
>
> Key: SOLR-8255
> URL: https://issues.apache.org/jira/browse/SOLR-8255
> Project: Solr
> Issue Type: Bug
> Reporter: Alan Woodward
> Assignee: Alan Woodward
>
> MiniSolrCloudCluster uses a LinkedList<> to hold its jetties. However,
> multi-threaded startup can break this because the list isn't thread safe. We
> should use CopyOnWriteArrayList instead.
> See for example
> http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/14819/, which starts
> up 5 nodes but then only has 4 entries in its jetty list, causing assertion
> errors and thread leaks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]