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 "Stefan Egli (Jira)" <ji...@apache.org> on 2023/12/14 14:35:00 UTC
[jira] [Updated] (OAK-10584) Checkpoints.getOldestRevisionToKeep shouldn't failed if called read-only
[ https://issues.apache.org/jira/browse/OAK-10584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Egli updated OAK-10584:
------------------------------
Labels: DetailedGC (was: )
> Checkpoints.getOldestRevisionToKeep shouldn't failed if called read-only
> ------------------------------------------------------------------------
>
> Key: OAK-10584
> URL: https://issues.apache.org/jira/browse/OAK-10584
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: documentmk
> Reporter: Stefan Egli
> Assignee: Stefan Egli
> Priority: Minor
> Labels: DetailedGC
>
> Below exception could occur and should be avoided:
> {noformat}
> java.lang.UnsupportedOperationException: Method - findAndUpdate. Params: [settings, key: checkpoint update {data.r17cea1494d3-0-1=REMOVE_MAP_ENTRY null}]
> at org.apache.jackrabbit.oak.plugins.document.util.ReadOnlyDocumentStoreWrapperFactory$1.invoke(ReadOnlyDocumentStoreWrapperFactory.java:38)
> at com.sun.proxy.$Proxy0.findAndUpdate(Unknown Source)
> at org.apache.jackrabbit.oak.plugins.document.Checkpoints.getOldestRevisionToKeep(Checkpoints.java:149)
> at org.apache.jackrabbit.oak.plugins.document.VersionGCRecommendations.<init>(VersionGCRecommendations.java:181)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)