[SERVER-70211] Remove applying overrides boilerplate code in CostModelManager Created: 04/Oct/22  Updated: 29/Oct/23  Resolved: 12/Oct/22

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

Type: Task Priority: Major - P3
Reporter: Alexander Ignatyev Assignee: Alexander Ignatyev
Resolution: Fixed Votes: 0
Labels: M5
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-69447 Add a query knob to control version o... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2022-10-17
Participants:

 Description   

We could probably use the BSONObj::addFields method which acts like a merge. So, serialize coefficients into a BSONObj, merge and then deserialize and return.



 Comments   
Comment by Alexander Ignatyev [ 12/Oct/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-69447 Add a query knob to control version of Cost Model coefficients
Branch: master
https://github.com/mongodb/mongo/commit/a13ab294e6a88b0f9e4cdbf1580bd3fce0b45295

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