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

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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: