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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/05/30 08:39:19 UTC

[jira] [Closed] (OAK-5966) Not able to connect in read only mode with old DocumentNodeStore repo

     [ https://issues.apache.org/jira/browse/OAK-5966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Giannella closed OAK-5966.
---------------------------------

Bulk close for 1.7.0

> Not able to connect in read only mode with old DocumentNodeStore repo
> ---------------------------------------------------------------------
>
>                 Key: OAK-5966
>                 URL: https://issues.apache.org/jira/browse/OAK-5966
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.7.0, 1.8
>
>
> Trying to use latest oak-run from trunk for connecting to old repository leads to following exception
> {noformat}
> $java -jar oak-run/target/oak-run-1.8-SNAPSHOT.jar console mongodb://localhost:27017/oak
> Exception in thread "main" java.lang.UnsupportedOperationException: Method - create. Params: [settings, [key: versionGC new {lastOldestTimeStamp=SET 0}]]
>         at org.apache.jackrabbit.oak.plugins.document.util.ReadOnlyDocumentStoreWrapperFactory$1.invoke(ReadOnlyDocumentStoreWrapperFactory.java:39)
>         at com.sun.proxy.$Proxy2.create(Unknown Source)
>         at org.apache.jackrabbit.oak.plugins.document.util.LeaseCheckDocumentStoreWrapper.create(LeaseCheckDocumentStoreWrapper.java:123)
>         at org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollector.createSettingDocIfNotExist(VersionGarbageCollector.java:403)
>         at org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollector.<init>(VersionGarbageCollector.java:100)
>         at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.<init>(DocumentNodeStore.java:530)
>         at org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.getNodeStore(DocumentMK.java:846)
>         at org.apache.jackrabbit.oak.console.Console.main(Console.java:110)
>         at org.apache.jackrabbit.oak.run.ConsoleCommand.execute(ConsoleCommand.java:26)
>         at org.apache.jackrabbit.oak.run.Mode.execute(Mode.java:65)
>         at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)