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

Make donor's "data sync" function do the "start blocking" write

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication

      Description

      After the "data sync" function adds the MigratingTenantAccessBlocker to MigratingTenantAccessBlockerByPrefix, it should update the donor's state machine doc's "state" to "blocking".

      For now, the update can be done using DBDirectClient, see example.

      (SERVER-49180 will modify the update so that it is done at a reserved OpTime and also sets "blockTimestamp" to the reserved OpTime's Timestamp.)

      Add a jstest that calling donorStartMigration causes the state machine doc's "state" to get updated to "blocking."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cheahuychou.mao Cheahuychou Mao
              Reporter:
              esha.maharishi Esha Maharishi
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: