[SERVER-20293] Implement a realloc based growable buffer that integrates with DataRange Created: 04/Sep/15  Updated: 19/Sep/15  Resolved: 04/Sep/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.1.8

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Mira Carey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platform 9 (09/18/15)
Participants:

 Description   

The existing DataRange utilities are useful for traversing buffers, or to writing to fixed size buffers, but currently offer no ability to write to an ever growing buffer, like BufBuilder. Adding such a facility would give us a path away from BufBuilder, and simplify the implementation of several components, including the data capture subsystem.



 Comments   
Comment by Githook User [ 04/Sep/15 ]

Author:

{u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}

Message: SERVER-20293 adding DataBuilder

Acts like a DataRangeCursor, but on top of an owned reallocing buffer.
Branch: master
https://github.com/mongodb/mongo/commit/043eec93c6b3d06c1758b2db2295c4cee957e923

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