Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6.0
-
None
Description
Comparing node states in read-only mode may fail with an IllegalStateException when the journal is used to perform a diff.
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) [...] Caused by: java.lang.IllegalStateException: Root document does not have a lastRev entry for local clusterId 0 at org.apache.jackrabbit.oak.plugins.document.JournalDiffLoader.call(JournalDiffLoader.java:82) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.diffImpl(DocumentNodeStore.java:2428)
See also OAK-6011.
Attachments
Issue Links
- is related to
-
OAK-6011 Test failure: JdbcToSegmentTest:validateMigration
- Closed