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:14:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Vinod Holani updated OAK-8938:
------------------------------
Attachment: OAK-8938.patch
> 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)