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

Make replication rollback of the "commit" or "abort" write call MigratingTenantAccessBlocker::rollBackCommitOrAbort

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Sharding

      • Add vector<string> databasePrefixesWithRolledBackMigrateCommitOrAbort to the RollbackObserverInfo struct
      • Inside _processRollbackOp, if opType is kUpdate and the namespace is config.migrationDonors and “state” found in the “o” field of the oplog entry is “commit” or “abort”, add the “databasePrefix” to databasePrefixesWithRolledBackMigrateCommitOrAbort 
      • Inside onReplicationRollback, for each databasePrefix in databasePrefixesWithRolledBackMigrateCommitOrAbort, get MigratingTenantAccessBlocker for it from the MigratingTenantAccessBlockerByPrefix decoration and call rollBackCommitOrAbort on it.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: