-
Bug
-
Resolution: Done
-
Critical
-
7.0.0.Beta2
-
None
Since ISPN-4692 that made FileListCacheValue DeltaAware, the following is happening when running org.infinispan.lucene.profiling.PerformanceCompareStressTest:
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)
The problem is that the deltas are not being applied in a thread safe manner