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

Server time unavailable with authenticated connection to MongoDB

    XMLWordPrintableJSON

Details

    Description

      The MongoDocumentStore gets the current server time with the serverStatus command. When MongoDB is configured with authentication, the command may fail because it requires the clusterMonitor role.

      The method will then simply log a WARN message and assume no time difference. Maybe there is a different command we can use to get the time on the server?

      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: