[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: |
|
||||||||
| 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: |