Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
None
Description
The attached short repro is a simplified version of a stress test. In short, it just creates an array of MongoClient instances and is using them concurrently from other threads. This fails with "state should be: open" right at the first read.
The sharded cluster backend should be any version of v4.0 branch, like 4.0.23.
The Java driver could be 3.10.2, which is used by customer, but could be anything that works, initially. The versions I tried are in pom.xml - 3.10.2, 3.12.8, 4.0.6, 4.2.2.