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

XMLWordPrintableJSON

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

      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
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: