[infinispan-issues] [JBoss JIRA] (ISPN-4801) ConcurrentModificationException on the FileListCacheValue

Gustavo Fernandes (JIRA) issues at jboss.org
Thu Oct 2 16:14:02 EDT 2014


Gustavo Fernandes created ISPN-4801:
---------------------------------------

             Summary: ConcurrentModificationException on the FileListCacheValue
                 Key: ISPN-4801
                 URL: https://issues.jboss.org/browse/ISPN-4801
             Project: Infinispan
          Issue Type: Bug
          Components: Embedded Querying
    Affects Versions: 7.0.0.Beta2
            Reporter: Gustavo Fernandes
            Assignee: Gustavo Fernandes
            Priority: Critical
             Fix For: 7.0.0.CR1


Since ISPN-4692 that made FileListCacheValue DeltaAware, the following is happening when running {{org.infinispan.lucene.profiling.PerformanceCompareStressTest}}:

{code}
java.util.ConcurrentModificationException
	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
	at java.util.HashMap$KeyIterator.next(HashMap.java:956)
	at java.util.AbstractCollection.toArray(AbstractCollection.java:195)
	at org.infinispan.lucene.impl.FileListCacheValue.toArray(FileListCacheValue.java:109)
	at org.infinispan.lucene.impl.FileListOperations.listFilenames(FileListOperations.java:101)
	at org.infinispan.lucene.impl.DirectoryImplementor.list(DirectoryImplementor.java:56)
	at org.infinispan.lucene.impl.DirectoryLuceneV4.listAll(DirectoryLuceneV4.java:123)
	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:759)
{code}

The problem is that the deltas are not being applied in a thread safe manner



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the infinispan-issues mailing list