[SERVER-47010] Fix ttl_sharded.js logging Created: 20/Mar/20  Updated: 29/Oct/23  Resolved: 24/Jun/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Esha Maharishi (Inactive)
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2020-04-20, Sharding 2020-05-04, Sharding 2020-05-18, Sharding 2020-06-01, Sharding 2020-06-15, Sharding 2020-06-29
Participants:
Linked BF Score: 35

 Description   

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



 Comments   
Comment by Githook User [ 24/Jun/20 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-47010 Fix ttl_sharded.js logging
Branch: master
https://github.com/mongodb/mongo/commit/d7c1c471a519decd2dc968ba632349d1d3938be5

Generated at Thu Feb 08 05:13:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.