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

Change all IDL object types to owned object types in Resharding classes

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Sharding 2020-10-19

    Description

      The generated IDL code doesn't automatically take ownership of a passed-in BSONObj, which can lead to references going out of scope.

      Analyze all Resharding IDL files and ensure that objects are changed to owned objects. Also take the time to look over Resharding IDL initialization and see if any other potential memory/scope issues pop up.

      Attachments

        Activity

          People

            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: