[SERVER-53280] Destroy task functors outside of thread pool lock Created: 08/Dec/20  Updated: 29/Oct/23  Resolved: 10/Dec/20

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

Type: Bug Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Benjamin Caimano (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service arch 2020-12-14
Participants:
Linked BF Score: 0

 Description   

We run tasks outside of the lock here, but then we destroy the bound functor under the lock. We should do both outside of the lock



 Comments   
Comment by Githook User [ 10/Dec/20 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}

Message: SERVER-53280 Destroy ThreadPool tasks outside of the lock
Branch: master
https://github.com/mongodb/mongo/commit/571f3c7cce27561d8c6de884fdfc374128c2b2ef

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