topology compatibility_error not recovered

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 0.9.2
    • Affects Version/s: 0.9.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Samuel Rossi (Inactive)
              Reporter:
              Tuna Celik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: