-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
Sharding 2020-04-20, Sharding 2020-05-04, Sharding 2020-05-18, Sharding 2020-06-01, Sharding 2020-06-15, Sharding 2020-06-29
-
35
The assert.soon tries to dump the contents of the collection, but string message is constructed when the assert.soon is called, not when it timed out. It should be using a function call back to return a string instead:
https://github.com/mongodb/mongo/blob/r4.3.2/jstests/noPassthroughWithMongod/ttl_sharded.js#L46