[
https://issues.apache.org/jira/browse/SOLR-11757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293359#comment-16293359
]
ASF subversion and git services commented on SOLR-11757:
--------------------------------------------------------
Commit 00c7568dc10c44b0827bb22c50d9fb216b175cc2 in lucene-solr's branch
refs/heads/branch_7x from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=00c7568 ]
SOLR-11757: Tests: SolrException.ignoreException use CopyOnWrite
(cherry picked from commit e441a99)
> 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> WARNING: Uncaught exception in thread:
> Thread[OverseerCollectionConfigSetProcessor-99162700839714821-127.0.0.1:39413_solr-n_0000000000,5,Overseer
> collection creation process.]
> [junit4] 2> java.util.ConcurrentModificationException
> [junit4] 2> at
> __randomizedtesting.SeedInfo.seed([E519150A6D300C6B]:0)
> [junit4] 2> at
> java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1494)
> [junit4] 2> at
> java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1517)
> [junit4] 2> at
> org.apache.solr.common.SolrException.doIgnore(SolrException.java:202)
> [junit4] 2> at
> org.apache.solr.common.SolrException.log(SolrException.java:154)
> [junit4] 2> at
> org.apache.solr.cloud.OverseerTaskProcessor.run(OverseerTaskProcessor.java:305)
> [junit4] 2> 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: [email protected]
For additional commands, e-mail: [email protected]