Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3529

Do not mark server as Unknown during topology scan until after retry has failed

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • libmongoc
    • None

    Description

      SDAM says:

      Once a server is connected, the client MUST change its type to Unknown only after it has retried the server once.

      libmongoc does will retry, but it marks the server description as Unknown immediately upon network error here. It should wait until after the retry, otherwise other threads will observe the unknown server description before the retry completes and could fail to select that server.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: