[SERVER-42103] Limit buffer growth in logv2_bm Created: 08/Jul/19  Updated: 29/Oct/23  Resolved: 22/Jul/19

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

Type: Bug Priority: Major - P3
Reporter: Henrik Edin Assignee: Gabriel Russell (Inactive)
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
Operating System: ALL
Sprint: Dev Tools 2019-07-15
Participants:
Linked BF Score: 45

 Description   

The internal stringstreams grow indefinitely within a test

https://github.com/mongodb/mongo/blob/16bcf466e6638b38ec99e4c980af485be0c7a0ae/src/mongo/logv2/logv2_bm.cpp#L68

https://github.com/mongodb/mongo/blob/16bcf466e6638b38ec99e4c980af485be0c7a0ae/src/mongo/logv2/logv2_bm.cpp#L117



 Comments   
Comment by Githook User [ 22/Jul/19 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-42103 use null_sync instead of stringstream buffers in log benchmarking
Branch: master
https://github.com/mongodb/mongo/commit/3f8bbd9ab0962768e7801e24df6d2832b6ecc269

Generated at Thu Feb 08 04:59:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.