- 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.
|