Entering TenantMigrationAccessBlocker committed or aborted states should be idempotent

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • ALL
    • Sharding 2021-02-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The TenantMigrationAccessBlocker can enter the committed or aborted states (kReject and kAborted, respectively) through a write unit of work onCommit handler or the op observer onMajorityCommitPointUpdate() listener. If these are interleaved, the access blocker may try to enter the same state twice, which triggers an invariant. Instead the methods for entering either state should early return if that state has already been entered.

              Assignee:
              Jack Mulrow
              Reporter:
              Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: