Marcel Reutegger created OAK-6016: ------------------------------------- Summary: DocumentNodeStore.compare() fails with IllegalStateException in read-only mode Key: OAK-6016 URL: https://issues.apache.org/jira/browse/OAK-6016 Project: Jackrabbit Oak Issue Type: Bug Components: documentmk Affects Versions: 1.6.0 Reporter: Marcel Reutegger Assignee: Marcel Reutegger Priority: Minor Fix For: 1.8
Comparing node states in read-only mode may fail with an IllegalStateException when the journal is used to perform a diff. {noformat} java.lang.IllegalStateException: Root document does not have a lastRev entry for local clusterId 0 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) at com.google.common.cache.LocalCache.get(LocalCache.java:3932) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) at org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83) at org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1632) {noformat} See also OAK-6011. -- This message was sent by Atlassian JIRA (v6.3.15#6346)