[SERVER-42012] Make already_checked_out_session.js more verbose on errors Created: 28/Jun/19  Updated: 29/Oct/23  Resolved: 01/Jul/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.2.0-rc4, 4.3.1

Type: Task Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Repl 2019-07-15
Participants:
Linked BF Score: 13

 Description   

In the test already_checked_out_session.js, if the ScopedThread fails, the assert.soon will timeout on waiting for the insert done in the ScopedThread to show up in the currentOp. The function doInsertWithSession doesn't print out the exception caught in the try-catch block, which makes it hard to debug when it fails.



 Comments   
Comment by Githook User [ 18/Jul/19 ]

Author:

{'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}

Message: SERVER-42012: Make already_checked_out_session.js more verbose on errors

(cherry picked from commit fbf80b67edd2c7e46adb9090a31a298af8fc0f78)
Branch: v4.2
https://github.com/mongodb/mongo/commit/fbcb2b8123217d8055affc1bffae04c98396387c

Comment by Githook User [ 01/Jul/19 ]

Author:

{'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}

Message: SERVER-42012: Make already_checked_out_session.js more verbose on errors
Branch: master
https://github.com/mongodb/mongo/commit/fbf80b67edd2c7e46adb9090a31a298af8fc0f78

Generated at Thu Feb 08 04:59:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.