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

ServerDescriptionChangedEvents for servers with errors always emitted even when description does not change

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.2.2, 2.3.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The PartialEq implementation for ServerDescription always returns false if both ServerDescriptions contain an error, regardless of whether the error is the same in both or not. This causes ServerDescriptionChangedEvents to be emitted even when the server did not change.

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

              Created:
              Updated:
              Resolved: