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

Replica set client fails first reconnect after network error in auth

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 0.3.4
    • 0.4
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: