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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v4.4
    • Sharding 2020-03-09, Sharding 2020-03-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Alexander Taskov (Inactive)
            Reporter:
            Alexander Taskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: