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

Convert member variable from migrationId in MigrationDestinationManager to boost::optional

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • v4.4
    • Sharding 2020-03-09, Sharding 2020-03-23

    Description

      Currently, the migrationId member variable is stored as a normal member variable of the MigrationDestinationManager class. However, it's undefined at construction time as it gets initialized with the state passed in from the recvChunkStart command. So it should be converted to a boost::optional so that it doesn't have to make the MigrationDestinationManager a friend.

      Attachments

        Activity

          People

            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: