Concurrent authentications to db.admin() fail

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.1.16
    • Component/s: MongoDB 3.2
    • Environment:
      OSX 10.11 - Docker - mongo:latest
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I'm trying to connect using a dbOwner to create index, collections, etc. After this using the same connection do follow:
      var adminDb = db.admin();
      adminDb.authenticate(username, password, callback);

      This work fine, but if I try to replicate same steps using async.parallel to test it on concurrency but give me an error code 18 with Auth fails message, it use same credentials before pass.

            Assignee:
            Christian Amor Kvalheim
            Reporter:
            Jorge Cuesta
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: