-
Type: Task
-
Resolution: Duplicate
-
Priority: 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.
- duplicates
-
SERVER-48940 [recovery] Make replication rollback clear and recover a tenant migration donor's in-memory state
- Closed