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

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: libmongoc
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: