Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70211

Remove applying overrides boilerplate code in CostModelManager

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.3
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QO 2022-10-17

      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.

            Assignee:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Reporter:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: