Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-675

Server selection fails despite having a selectable server

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0-alpha.1
    • Affects Version/s: None
    • Component/s: None
    • None

      This only affects 2.0.0-alpha.

      There is currently a bug in server selection which causes server selection to time out even when suitable servers are available. I believe it is caused by a race between subscribing to topology updates after a failed selection attempt and the updates actually occurring.

      example failure: https://evergreen.mongodb.com/task_log_raw/mongo_rust_driver_tests__async_runtime~async_std_auth_and_tls~noauth_and_notls_os~ubuntu_16.04_test_4.0_replica_set_50c94100b6d2154d3f18dd8cb077f146fd1e036f_21_02_03_17_40_54/0?type=T#L1260

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: