Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8122

MongoDocumentStore init may fail with authentication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.0, 1.10.0
    • 1.12.0, 1.10.2
    • mongomk
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: