Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4.6, 1.5.6
-
None
Description
The JournalDiffLoader introduced in OAK-4528 sometimes causes a ConcurrentModificationException in JournalEntry.TreeNode:
java.util.ConcurrentModificationException: null at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$EntryIterator.next(HashMap.java:1463) at java.util.HashMap$EntryIterator.next(HashMap.java:1461) at org.apache.jackrabbit.oak.plugins.document.JournalEntry$TreeNode.accept(JournalEntry.java:503) at org.apache.jackrabbit.oak.plugins.document.JournalEntry$TreeNode.accept(JournalEntry.java:504) at org.apache.jackrabbit.oak.plugins.document.JournalEntry$TreeNode.accept(JournalEntry.java:504) at org.apache.jackrabbit.oak.plugins.document.JournalEntry$TreeNode.accept(JournalEntry.java:504) at org.apache.jackrabbit.oak.plugins.document.JournalEntry$TreeNode.accept(JournalEntry.java:504) at org.apache.jackrabbit.oak.plugins.document.JournalEntry$TreeNode.accept(JournalEntry.java:504) at org.apache.jackrabbit.oak.plugins.document.JournalEntry$TreeNode.accept(JournalEntry.java:504) at org.apache.jackrabbit.oak.plugins.document.JournalEntry$TreeNode.accept(JournalEntry.java:504) at org.apache.jackrabbit.oak.plugins.document.JournalEntry.addTo(JournalEntry.java:312) at org.apache.jackrabbit.oak.plugins.document.JournalDiffLoader.readTrunkChanges(JournalDiffLoader.java:150) at org.apache.jackrabbit.oak.plugins.document.JournalDiffLoader.call(JournalDiffLoader.java:74)
Attachments
Attachments
Issue Links
- relates to
-
OAK-4528 diff calculation in DocumentNodeStore should try to re-use journal info on diff cache miss
- Closed