[SERVER-50429] Move CST types to own the underlying data Created: 20/Aug/20  Updated: 06/Dec/22

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

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: PM-1749-find-milestone, PM-1749-stability, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Sprint: Query 2020-10-05
Participants:

 Description   

Using the BSONRegex struct to hold regex types, for example, holds the pattern by StringData which will become invalid if the original BSON goes out of scope. While not a big deal in practice, the CST should not require the original BSON to outlive it.

Other types that need to change are BSONCode, BSONCodeWScope, BSONBinData, BSONDBRef, and BSONSymbol.


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