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

Remove the TenantMigrationAccessBlocker when the state doc is removed instead of when expireAt is set

    • Fully Compatible
    • ALL
    • Sharding 2020-09-21, Sharding 2020-10-05

      Right now the TenantMigrationAccessBlocker is removed by the OpObserver when the expireAt field is set. This doesn't align with the design. It should be removed when the donor's state document is removed.

      Also, this is causing an issue if the donor restarts. If expireAt is set prior to shutdown but the TTL does not get to remove the donor's state doc before that, then on restart the TenantMigrationAccessBlocker would get recovered but never removed.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: