[ 
https://issues.apache.org/jira/browse/OAK-8921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043426#comment-17043426
 ] 

Paul Chibulcuteanu commented on OAK-8921:
-----------------------------------------

[~amitjain], thanks for the suggestions. [~ngupta], what about this proposal: 
add a flag to the command to ignore repositoryId presence and disable the check 
in case this flag is set?


> Create repositoryId in case it doesn't exist as part of DataStoreCommand
> ------------------------------------------------------------------------
>
>                 Key: OAK-8921
>                 URL: https://issues.apache.org/jira/browse/OAK-8921
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: blob, blob-cloud
>            Reporter: Paul Chibulcuteanu
>            Priority: Minor
>         Attachments: OAK-8921-1.patch
>
>
> As part of the _DataStoreCommand_ there is the assumption that the 
> _repositoryId_ is always present when the consistency check is run.
> This is not always the case, especially when oak in not initialised but the 
> nodestore & datastore are already created.
> Existing code:
> {code}
>         String repositoryId = ClusterRepositoryInfo.getId(fixture.getStore());
>         checkNotNull(repositoryId);
> {code}
> Proposal:
> Create repositoryId in case it doesn't exist. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to