[SERVER-8714] findAllChunks / _findAllCollections leak memory on invalid chunks Created: 25/Feb/13  Updated: 11/Jul/16  Resolved: 03/Apr/13

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

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File config_upgrade_tests.cpp     File valgrind.out    
Issue Links:
Related
is related to SERVER-8765 memory leak in config upgrade codepath Closed
Operating System: ALL
Participants:

 Description   

Happens when we create "new TypeXXX" and do not add it to the OwnedVector/Map. Only happens 1x, so non-critical, but should be fixed.



 Comments   
Comment by Greg Studer [ 03/Apr/13 ]

Fixed in SERVER-8765

Comment by Shaun Verch [ 03/Apr/13 ]

config_upgrade_tests.cpp that tests this case and valgrind output from:

valgrind --log-file=./valgrind.out --leak-check=full --track-origins=yes ./test ConfigUpgradeTests

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