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

Query hangs forever

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Community Answered
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      mac os x, latest rust nightly, mongodb 4.4 docker image

      Description

      Hello, I created minimal example: https://github.com/max-frai/MongodbDriverHangs/blob/master/src/main.rs

      On latest nightly (also tried with last stable) sync query hangs after 23 or 24 or 25 (randomly) iterations when actix-web async runtime is used in application.

      So if we remove `#[actix_web::main]` and `async` on main function we can see all 40 requests are finished.

      Tested with mongodb 4-4.4 using official docker image.

        Attachments

          Activity

            People

            Assignee:
            sam.rossi Samuel Rossi (Inactive)
            Reporter:
            me@maxfrai.com Max Frai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: