Skip to content

called Result::unwrap() on an Err value: JoinError::Cancelled(Id(32)) #1204

Closed
@Glydric

Description

@Glydric

Versions/Environment

  1. What version of Rust are you using? 1.81.0
  2. What operating system are you using? MacOS 14.6
  3. What versions of the driver and its dependencies are you using? (Run
    cargo pkgid mongodb & cargo pkgid bson)
    registry+https://github.com/rust-lang/crates.io-index#[email protected]
    registry+https://github.com/rust-lang/crates.io-index#[email protected]
  4. What version of MongoDB are you using? (Check with the MongoDB shell using db.version()) 7.0.12
  5. What is your MongoDB topology (standalone, replica set, sharded cluster, serverless)? replica set

Describe the bug

When running actix tests (api that connects with mondogb) sometimes I get
called `Result::unwrap()` on an `Err` value: JoinError::Cancelled(Id(32))
this happens on file mongodb-3.1.0/src/runtime/join_handle.rs:32:60

BE SPECIFIC:

  • What is the expected behavior and what is actually happening?
  • Do you have any particular output that demonstrates this problem?
  • Do you have any ideas on why this may be happening that could give us a
    clue in the right direction?
  • Did this issue arise out of nowhere, or after an update (of the driver,
    server, and/or Rust)?
  • Are there multiple ways of triggering this bug (perhaps more than one
    function produce a crash)?
  • If you know how to reproduce this bug, please include a code snippet here:

To Reproduce
Steps to reproduce the behavior:

  1. First, do this.
  2. Then do this.
  3. After doing that, do this.
  4. And then, finally, do this.
  5. Bug occurs.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions