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

Validate state transitions in TenantMigrationAccessBlocker

    • Fully Compatible
    • v4.9
    • Sharding 2021-05-03

      The TenantMigrationAccessBlocker class transitions between several states over the course of a migration. To make it easier to catch bugs, we should add a class / helper method that formally validates the transitions are legal (possibly like the one used by TransactionParticipant). This can replace the ad-hoc invariants currently used for that purpose.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: