[
https://issues.apache.org/jira/browse/OAK-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392436#comment-14392436
]
Thomas Mueller commented on OAK-2715:
-------------------------------------
Yes, using the newer version makes sense. There are two known issues that can
cause an IllegalStateException: one (H2 issue 587) is fixed in version 1.4.185,
and the other is Thread.interrupt, but then you would see a different exception
first.
> ObservationTest benchmark logs warnings about IllegalStateException
> -------------------------------------------------------------------
>
> Key: OAK-2715
> URL: https://issues.apache.org/jira/browse/OAK-2715
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, mongomk
> Affects Versions: 1.1.8
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Fix For: 1.2
>
>
> The ObservationTest benchmark logs warnings on Oak-MongoNS:
> {noformat}
> 15:08:01.892 [oak-executor-159] WARN o.a.j.o.p.d.persistentCache.CacheMap -
> Re-opening map CHILDREN
> java.lang.IllegalStateException: Chunk 21 no longer exists [1.4.182/9]
> at
> org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:762)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> at org.h2.mvstore.MVStore.getChunkIfFound(MVStore.java:867)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> at org.h2.mvstore.MVStore.getChunk(MVStore.java:850)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> at org.h2.mvstore.MVStore.readPage(MVStore.java:1805)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> at org.h2.mvstore.MVMap.readPage(MVMap.java:769)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> at org.h2.mvstore.Page.getChildPage(Page.java:252)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> at org.h2.mvstore.MVMap.binarySearch(MVMap.java:469)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> at org.h2.mvstore.MVMap.get(MVMap.java:451)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> at
> org.apache.jackrabbit.oak.plugins.document.persistentCache.CacheMap.get(CacheMap.java:87)
> ~[oak-run-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
> {noformat}
> A similar issue was already reported in OAK-2549 with a note that the
> IllegalStateException was not reproducible. Running the benchmark on trunk on
> my machine logs the warning on every run.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)