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

XMLWordPrintableJSON

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

      • 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:
              [DO NOT USE] Backlog - Sharding Team
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: