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

Remove applying overrides boilerplate code in CostModelManager

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.3
    • None
    • Fully Compatible
    • QO 2022-10-17

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: