-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding 2020-10-05, Sharding 2020-10-19, Sharding 2020-11-02, Sharding 2020-11-16
Ticketed:
- Call setInitialChunksAndZones() as part of the happy path.
- Call shard refresh code from _tellAllRecipientsToRefresh()
- Call shard refresh code from _tellAllDonorsToRefresh()
- Create ReshardingDonorMachine or ReshardingRecipientMachine seen from the catalog cache refresh in onShardVersionMismatch() (or lower in the call stack).
- Call onReshardingFieldsChanges() for a donor or recipient machine seen from the catalog cache refresh in onShardVersionMismatch() (or lower in the call stack).
- Set proper futures in onReshardingFieldsChanges().
To be ticketed:
- depends on
-
SERVER-51345 Change all IDL object types to owned object types in Resharding classes
- Closed
-
SERVER-51385 Ensure that vector is initialized before setting vector as output of std::transform
- Closed
-
SERVER-51419 Don't optimistically transition states in ReshardingDonorService
- Closed
-
SERVER-51510 Ensure that reshardingFields gets copied over from the enqueued to the persisted sharding metadata when combining CollAndChangedChunks structs
- Closed
-
SERVER-51511 Emplace state documents for resharding donor/recipients upon construction or first run.
- Closed
-
SERVER-51523 Don't attempt to retrieve a ReshardingCoordinator instance on a replica set secondary
- Closed
-
SERVER-51210 Call setInitialChunksAndZones from the config server reshardCollection command
- Closed
-
SERVER-51211 Call resharding_util:: tellShardsToRefresh() from the ReshardingCoordinator in corresponding functions
- Closed
-
SERVER-51212 Handle resharding fields from shard version mismatch function
- Closed
-
SERVER-51217 Uncomment createTemporaryReshardingCollectionLocally()
- Closed
-
SERVER-51222 Calculate fetchTimestamp before creating temporary resharding collection
- Closed
-
SERVER-51291 Increment shard version when changing original or temporary resharding collection
- Closed
-
SERVER-51347 Allow writes on a collection string-matching ".system.resharding." for Resharding
- Closed
-
SERVER-51349 An OpCtx's UncommittedCollections are retained after transaction resource stashing.
- Closed
-
SERVER-51398 Write state transition and other data from resharding donors/recipient shards to the coordinator
- Closed
-
SERVER-51410 Add the original collection's UUID to TypeCollectionReshardingFields
- Closed
-
SERVER-51412 Add an array of DonorShardIds to TypeCollectionReshardingFields for the recipient shard
- Closed
-
SERVER-51518 Reconcile how PrimaryOnlyService::lookupInstance() expects opCtx holding locks to be tagged as always interruptible
- Closed
-
SERVER-51525 Allow dropping the temporary resharding collection to enable testing
- Closed
-
SERVER-51660 Propagate resharding fields through the enqueued metadata combination algorithm
- Closed