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/15 22:20:00 UTC

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

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

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

Commit e441a99009a557f82ea17ee9f9c3e9b89c75cee6 in lucene-solr's branch refs/heads/master from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e441a99 ]

SOLR-11757: Tests: SolrException.ignoreException use CopyOnWrite


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