Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6523

RO auth doesn't work right after user is created

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • ALL

    Description

      Seems like a caching issue? Happens intermittently. Andy thought that changing the Scoped connection in s/security.cpp to a ScopedInternal connection would fix it, not sure if it does or not.

      I attached a file that reproduces it but the file has a ton of cruft that I couldn't get rid of without it not reproducing it anymore (stupid stuff like code that isn't even called before the exception).

      The important part that isn't working is basically in the getUser function: it does an addUser and then and auth on the user that was just added and it doesn't work.

      Attachments

        1. out
          377 kB
        2. ro2.js
          5 kB

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: