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

topology compatibility_error not recovered

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 0.9.2
    • Affects Version/s: 0.9.1
    • Component/s: None

      The problem is topology compatibility_error field is not updated when the problematic state of the connection is recovered.

      Reproduce:

      • Make the client connection
      • Stop mongodb and start after 10 - 15 seconds
      • The client connection is already marked the compatibility_error.
      • No more communication with mongodb until the restart the rust application.

      Error Output:

      Error { kind: ServerSelectionError { message: "Server at 127.0.0.1:27017 reports wire version 0, but this version of the MongoDB Rust driver requires at least 6 (MongoDB 3.6)." } }
      

      Expected Behavior:

      The connection should be recoverable.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            tuna.celik@mesajkutum.com Tuna Celik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: