[SERVER-53183] Parameterize BSONObjBuilder by buffer builder Created: 02/Dec/20  Updated: 29/Oct/23  Resolved: 05/Dec/20

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

Type: Improvement Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-12-14
Participants:

 Description   

Currently BSONObjBuilder is built directly on top of BufBuilder, which creates ref counted buffers. This ticket tracks the work of making BSONObjBuilder more generic so that any buffer builder can be used, allowing us to construct BSON in memory that's not owned by SharedBuffer.



 Comments   
Comment by Githook User [ 04/Dec/20 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'puppyofkosh'}

Message: SERVER-53183 Parameterize BSONObjBuilder by buffer allocator
Branch: master
https://github.com/mongodb/mongo/commit/1c0f7fc1b37c4495179765bd099bab5b603b76d5

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