mongo-rust-driver icon indicating copy to clipboard operation
mongo-rust-driver copied to clipboard

RUST-1842 Update prose tests for mongos deprioritization during retryable ops

Open JamieTsai1024 opened this issue 5 months ago • 0 comments

  • Add assertions to check whether failed events occurred on the same or different mongos for retryable_reads and retryable_writes.
  • Rewrote implementation for retryable read/write test on different mongos. The prose updates introduced flakiness on mongo versions 4.2 and 4.4 sharded tasks on Macos-14.00 variant where the servers discovery was too slow.
    • Solution: Instead of creating a client per server, we now have a single client that connects to all servers using predicates.

Links

  • Prose test diff to implement: https://github.com/mongodb/specifications/commit/f5bb605db32aeff78b2197d15e559b68e7d61f7f

JamieTsai1024 avatar Jun 12 '25 20:06 JamieTsai1024