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

Entering TenantMigrationAccessBlocker committed or aborted states should be idempotent

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • ALL
    • Sharding 2021-02-08

    Description

      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.

      Attachments

        Activity

          People

            jack.mulrow@mongodb.com Jack Mulrow
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: