[SERVER-51827] Log and rethrow if PooledScope destructor throws Created: 23/Oct/20  Updated: 29/Oct/23  Resolved: 16/Nov/20

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

Type: Improvement Priority: Major - P3
Reporter: David Percy Assignee: David Percy
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 14

 Description   

Very rarely, we're seeing "terminate() on mongo::PooledScope::~PooledScope". We should log something when this happens to make it easier to debug.



 Comments   
Comment by Githook User [ 14/Nov/20 ]

Author:

{'name': 'David Percy', 'email': 'david.percy@mongodb.com', 'username': 'dpercy'}

Message: SERVER-51827 Log and rethrow if ~PooledScope throws
Branch: master
https://github.com/mongodb/mongo/commit/40e678341b1c5846a200d2d52e23039f6c0edbe3

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