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 "Vinod Holani (Jira)" <ji...@apache.org> on 2020/03/05 09:17:00 UTC

[jira] [Commented] (OAK-8938) Backport part of OAK-7654 to 1.8 branch

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

Vinod Holani commented on OAK-8938:
-----------------------------------

[~mreutegg] please review added patch. This is backport of commit [http://svn.apache.org/viewvc?view=revision&revision=1836543] from trunk.

> Backport part of OAK-7654 to 1.8 branch
> ---------------------------------------
>
>                 Key: OAK-8938
>                 URL: https://issues.apache.org/jira/browse/OAK-8938
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: run
>    Affects Versions: 1.8.20
>            Reporter: Vinod Holani
>            Priority: Minor
>         Attachments: OAK-8938.patch
>
>
> When running oak run jar in recovery mode on a mongo replica set with auth enabled. it fails to pass the auth data for a findOne command called in *GetRootRevisionsCallable*
>  
> {code:java}
> DBObject root = collection.findOne(new BasicDBObject(Document.ID, "0:/"));{code}
> Mainly because of deprecated {{DB}} and {{DBCollection}} classes.



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