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

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

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

      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.

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

              Created:
              Updated:
              Resolved: