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

failing connection is not closed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      server running on ubuntu, database runs as cosmosdb in ms azure

      Description

      So I am using this driver against azure cosmosdb with the MongoDB interface.

      There seems to be load balancer in between me and the DB and whenever this one returns errors to the driver which seem to be manifesting in this example:

      ```

      mongo error:The server returned an invalid reply to a database operation: missing field `n`

      ```

      then the connection does not get closed but stays unusable and will now return errors on each following request. 

       

      so my question now is: is there a way to do this from my code side or does it require. changes in the driver?

        Attachments

          Activity

            People

            Assignee:
            sam.rossi Samuel Rossi (Inactive)
            Reporter:
            dilly.stephan@gmail.com stephan dilly
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: