[
https://issues.apache.org/jira/browse/OAK-8122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789466#comment-16789466
]
Marcel Reutegger commented on OAK-8122:
---------------------------------------
The workaround is to grant the connecting user the {{clusterMonitor}} role.
> MongoDocumentStore init may fail with authentication
> ----------------------------------------------------
>
> Key: OAK-8122
> URL: https://issues.apache.org/jira/browse/OAK-8122
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: mongomk
> Affects Versions: 1.9.0, 1.10.0
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 1.12
>
>
> The MongoDocumentStore initialization fails when authentication is enabled in
> MongoDB and the connecting user does not have the {{clusterMonitor}} role
> granted.
> This is a regression introduced with OAK-7360, where the MongoStatus
> implementation migrated to the MongoDB Java driver API 3.0. The new
> runCommand() has a slightly different behaviour than the previously used
> comment() method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)