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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2019/03/06 14:11:00 UTC
[jira] [Comment Edited] (OAK-8111) Create read-only
DocumentNodeStore for oak-run recovery dry run
[ https://issues.apache.org/jira/browse/OAK-8111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785634#comment-16785634 ]
Julian Reschke edited comment on OAK-8111 at 3/6/19 2:10 PM:
-------------------------------------------------------------
Proposal: add readOnly spec to {{Utils.NodeStoreOptions}}.
CATCH22: if we do that, the {{DocumentStore}} returned by {{DocumentNodeStore}} is the read-only wrapper, which breaks the code that would instantiate the {{MissingLastRevSeeker}}.
was (Author: reschke):
Proposal: add readOnly spec to {{Utils.NodeStoreOptions}}.
> Create read-only DocumentNodeStore for oak-run recovery dry run
> ---------------------------------------------------------------
>
> Key: OAK-8111
> URL: https://issues.apache.org/jira/browse/OAK-8111
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: oak-run
> Reporter: Marcel Reutegger
> Assignee: Julian Reschke
> Priority: Minor
> Fix For: 1.12
>
>
> The oak-run recovery command always creates a read-write DocumentNodeStore even when the dryRun flag is set. In dryRun mode, the command should create a read-only DocumentNodeStore.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)