lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8255) MiniSolrCloudCluster doesn't use a thread-safe list for its jetties
Date Mon, 09 Nov 2015 18:17:11 GMT

     [ https://issues.apache.org/jira/browse/SOLR-8255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Woodward updated SOLR-8255:
--------------------------------
    Fix Version/s: 5.4

> 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
>             Fix For: 5.4
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message