Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-701

Concurrent authentications to db.admin() fail

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

      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:
            christkv Christian Amor Kvalheim
            Reporter:
            jckpo2@gmail.com Jorge Cuesta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: