You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2017/12/15 22:27:00 UTC

[jira] [Resolved] (SOLR-11757) SolrException.ignoreException race conditions in tests

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

David Smiley resolved SOLR-11757.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 7.3

> SolrException.ignoreException race conditions in tests
> ------------------------------------------------------
>
>                 Key: SOLR-11757
>                 URL: https://issues.apache.org/jira/browse/SOLR-11757
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 7.3
>
>         Attachments: SOLR-11757.patch
>
>
> It seems somehow race conditions between tests starting or closing can result in SolrException.ignoreExceptions (a set of patterns) getting modified and read concurrently causing a ConcurrentModificationException. 
> {noformat}
> com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler uncaughtException
>    [junit4]   2&gt; WARNING: Uncaught exception in thread: Thread[OverseerCollectionConfigSetProcessor-99162700839714821-127.0.0.1:39413_solr-n_0000000000,5,Overseer collection creation process.]
>    [junit4]   2&gt; java.util.ConcurrentModificationException
>    [junit4]   2&gt;     at __randomizedtesting.SeedInfo.seed([E519150A6D300C6B]:0)
>    [junit4]   2&gt;     at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1494)
>    [junit4]   2&gt;     at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1517)
>    [junit4]   2&gt;     at org.apache.solr.common.SolrException.doIgnore(SolrException.java:202)
>    [junit4]   2&gt;     at org.apache.solr.common.SolrException.log(SolrException.java:154)
>    [junit4]   2&gt;     at org.apache.solr.cloud.OverseerTaskProcessor.run(OverseerTaskProcessor.java:305)
>    [junit4]   2&gt;     at java.base/java.lang.Thread.run(Thread.java:844)
> {noformat}



--
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