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:04:00 UTC

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

Vinod Holani created OAK-8938:
---------------------------------

             Summary: 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


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)