[SERVER-83198] createOplogEntryWithNStatementIds uses BSONObjBuilder::done() in a place where it should use BSONObjBuilder::obj() Created: 13/Nov/23  Updated: 17/Nov/23  Resolved: 17/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Frederic Vitzikam Assignee: Frederic Vitzikam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-81098 Make statementId in oplog faster Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 155

 Description   

As mentioned here, this method does not return an owned BSONObj.

 

This issue was found by ASAN following the merge of https://jira.mongodb.org/browse/SERVER-81098.



 Comments   
Comment by Githook User [ 17/Nov/23 ]

Author:

{'name': 'Frederic Vitzikam', 'email': 'frederic.vitzikam@mongodb.com', 'username': 'fredvitz'}

Message: SERVER-83198 createOplogEntryWithNStatementIds uses BSONObjBuilder::done() instead of BSONObjBuilder::obj()
Branch: master
https://github.com/mongodb/mongo/commit/5580b096f83101e6613e66b2fc53c5a17f497dd1

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