After SERVER-64175 instead of checking that a shard contains the target refined index, a check was added to ask all shards with data that there is a valid index before actually refining the shard key.
There is a test that checks the old code path, so after 7.0 becomes last-lts, this test can be removed.
- related to
-
SERVER-64175 Change refineCollectionShardKey index validation checks
- Closed