[
https://issues.apache.org/jira/browse/OAK-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723346#comment-14723346
]
Michael Dürig commented on OAK-3317:
------------------------------------
OAK-2862 needs to be merged first should we decide to merge this.
> ConcurrentModificationException when running SegmentOverflowExceptionIT
> -----------------------------------------------------------------------
>
> Key: OAK-3317
> URL: https://issues.apache.org/jira/browse/OAK-3317
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segmentmk
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: compaction, gc
> Fix For: 1.3.5
>
>
> {noformat}
> Running org.apache.jackrabbit.oak.plugins.segment.SegmentOverflowExceptionIT
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2,426.873 sec
> <<< FAILURE!
> run(org.apache.jackrabbit.oak.plugins.segment.SegmentOverflowExceptionIT)
> Time elapsed: 2,426.373 sec <<< ERROR!
> java.util.ConcurrentModificationException
> at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
> at java.util.ArrayList$Itr.next(ArrayList.java:831)
> at
> org.apache.jackrabbit.oak.plugins.segment.CompactionMap.wasCompactedTo(CompactionMap.java:60)
> at
> org.apache.jackrabbit.oak.plugins.segment.Record.wasCompactedTo(Record.java:64)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.equals(SegmentBlob.java:213)
> at com.google.common.base.Objects.equal(Objects.java:55)
> at
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:53)
> at
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equals(AbstractPropertyState.java:90)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:1176)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentNodeBuilder.getNodeState(SegmentNodeBuilder.java:100)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore$Commit.<init>(SegmentNodeStore.java:418)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore.merge(SegmentNodeStore.java:204)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentOverflowExceptionIT.run(SegmentOverflowExceptionIT.java:130)
> {noformat}
> This is caused by concurrently accessing the underlying list of maps in
> {{CompactionMap#remove}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)