BugZero found this defect 88 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
3/11/2024
MongoDB Server
No affected releases provided.
8.0.0-rc0
The string is copied today which is a waste when generally they are temporary strings. There are two cases in the code where code does locker->setDebugInfo(obj.toBSON().toString()) which wastes a lot of memory
xgen-internal-githook commented on Sat, 9 Mar 2024 03:27:45 +0000: Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'} Message: SERVER-86907 Change Locker::setDebugInfo to take ownership of the string GitOrigin-RevId: d81675c5f37c98a856d5bc07d010d9294faac149 Branch: master https://github.com/mongodb/mongo/commit/9feb3c94910491afc21f34b01dabc7a617a4fa89