You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2017/04/03 11:54:41 UTC
[jira] [Resolved] (OAK-6016) DocumentNodeStore.compare() fails with
IllegalStateException in read-only mode
[ https://issues.apache.org/jira/browse/OAK-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger resolved OAK-6016.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Fixed in trunk: http://svn.apache.org/r1789975
> 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
> Labels: candidate_oak_1_6
> Fix For: 1.7.0, 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)
> [...]
> 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)
> {noformat}
> See also OAK-6011.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)