-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
v4.9
-
Sharding 2021-01-25, Sharding 2021-03-08, Sharding 2021-03-22, Repl 2021-04-05, Repl 2021-04-19, Repl 2021-05-03, Repl 2021-05-17, Repl 2021-05-31, Repl 2021-06-14
There is already a resmoke.y background thread that steps down, kills, or terminates replica set primaries of a ReplicaSetFixture.
The hook does stepdowns by default, but has options to do kill or terminate instead. See example of how the kill or terminate options get used.
This ticket is to add three new variants of tenant_migration_jscore_passthrough for doing background stepdowns, kills, and terminates.
It will require:
- making the stepdown/kill/terminate background thread compatible with the TenantMigrationTestFixture, which has an array of replica sets. This should be fairly straightforward, since it already works with different fixtures and also stores an array of replica sets.
- making the tenant_migration.py background thread retry on retryable errors, if it doesn't already
- depends on
-
SERVER-54926 Convert HostUnreachable error in _fetchAndStoreRecipientClusterTimeKeyDocs to specific error
- Closed
-
SERVER-55234 Ensure that tenant migration abortReason is recovered correctly on stepup recovery
- Closed
-
SERVER-55352 Missing uuid in collection info returned by TenantDatabaseCloner's listCollections command
- Closed
-
SERVER-55353 Tenant migration recipient can fail to find pre-image or post-image for oplog entry in its tenant migration oplog buffer
- Closed
-
SERVER-55355 Tenant migration recipient aborts the migration if it selected a stale sync source instead of selecting a new one
- Closed
-
SERVER-55357 Repeated retryable write execution on tenant migration recipient
- Closed
-
SERVER-55358 Tenant migration recipient can receive empty batch from sync source
- Closed
-
SERVER-55359 Docs in tenant migration oplog buffer collection might not be ordered by timestamp
- Closed
-
SERVER-55364 Investigate DuplicateKey error for createIndex command in background_unique_indexes.js in tenant migration stepdown/kill/terminate suites
- Closed
-
SERVER-55366 inject_tenant_prefix.js should not modify the original command on retrying retryable writes
- Closed
-
SERVER-55373 Tenant migration recipient can deadlock when there is failover
- Closed
-
SERVER-55519 Investigate missing _id index during collection cloning in tenant migration
- Closed
-
SERVER-56002 listIndexes can read partial state from renameCollection
- Closed
-
SERVER-56354 Investigate memory leaks in TenantMigrationDonorAccessBlocker
- Closed
-
SERVER-56431 Investigate TooManyLogicalSessions error in CheckReplOplogs in tenant migration failover passthroughs
- Closed
-
SERVER-56434 Timed out waiting for donor primary in ContinuousTenantMigration
- Closed
-
SERVER-56435 ContinuousTenantMigration doesn't handle donor aborting migration due to ShutdownInProgress or InterruptedAtShutdown
- Closed
-
SERVER-56439 insert1.js uses too many retry attempts in tenant migration terminate primary passthroughs
- Closed
-
SERVER-56471 Donor's listDatabases response missing operationTime
- Closed
-
SERVER-56914 insert1.js uses too many retry attempts in tenant migration stepdown primary passthroughs
- Closed
-
SERVER-57098 Recipient cannot uassert that we don't process the same donor statement twice
- Closed
-
SERVER-57099 Preserve donor oplog optime in o2 when avoid re-wrapping previously migrated retryable writes noop
- Closed
-
SERVER-57491 Do not recreate recipient mtab if recipientForgetMigration is received after the state doc is deleted
- Closed
-
SERVER-55349 Make TenantMigrationThread garbage collect migration before validating abort reason
- Closed
- is depended on by
-
SERVER-53614 Enable tenant migration kill primary passthrough suite with aborts
- Closed
- related to
-
SERVER-53614 Enable tenant migration kill primary passthrough suite with aborts
- Closed
-
SERVER-55472 Make DBClientCursor::fromAggregationRequest return the original status rather than CommandFailed
- Closed
-
SERVER-57623 Complete TODO listed in SERVER-52713
- Closed
-
SERVER-55473 DBClientBase::_auth should return the original status instead of AuthenticationFailed
- Closed
- split to
-
SERVER-57261 Enable tenant migration failover passthrough suite with commits
- Closed