The ReshardingForTimeseries feature flag controls if timeseries collections can be moved through the moveCollection command.
If this feature flag is disabled, we should not track unsharded timeseries collections. In fact if we do so we will end-up in the following situation:
- collection is tracked
- collection can't be moved through moveCollection
- movePrimary won't move the collection
In this situation, it will be impossible to complete a removeShard operation of a shard owning the timeseries collection because there is no way to actually move that collection out of that shard.
- is duplicated by
-
SERVER-89996 Register timeseries collection under featureFlagReshardingForTimeseries
- Closed
- related to
-
SERVER-91997 moveCollection could cause a deadlock with concurrent setFeatureCompatibilityVersion command
- Closed