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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • Sharding 2020-07-27, Sharding 2020-08-10

    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

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: