Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-61

Replica set client fails first reconnect after network error in auth

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.4
    • Affects Version/s: 0.3.4
    • Component/s: None
    • None

      After a call to authenticate(), MotorReplicaSetClient caches the new credentials. If it hits a network error authenticating a different socket with the cached credentials, it should throw AutoReconnect, then reconnect on the first following operation. Instead, the next operation also throws AutoReconnect, and only the operation after that succeeds.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: