[SERVER-44567] Reimplement CommandState destructors for v4.0 Created: 11/Nov/19  Updated: 29/Oct/23  Resolved: 05/Dec/19

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

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:
Duplicate
is duplicated by SERVER-43632 Possible memory leak in 4.0 Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2019-12-02, Service Arch 2019-12-16
Participants:

 Description   

In the course of SERVER-41318, we fixed a bug in the NetworkInterface wherein CommandStates are not always erased from their owning map. The relevant part of SERVER-41318 is that the CommandState destructor becomes the sole point that erases from the map of states. We should pull these changes back to v4.0 with lifetime extension modifications as necessary.



 Comments   
Comment by Githook User [ 05/Dec/19 ]

Author:

{'email': 'ben.caimano@mongodb.com', 'name': 'Ben Caimano', 'username': 'bcaimano'}

Message: SERVER-44567 Reimplement CommandState destructors for v4.0
Branch: v4.0
https://github.com/mongodb/mongo/commit/acac11eca3f8e76647273b20008f1f486e27518e

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