[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: |
|
||||||||
| 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: (cherry picked from commit fbf80b67edd2c7e46adb9090a31a298af8fc0f78) |
| Comment by Githook User [ 01/Jul/19 ] |
|
Author: {'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}Message: |