SucceedsIfFilteringMetadataUUIDInitiallyDifferentFromTaskUUIDButMatchesAfterRefresh test case must be deleted because it tests an artificial scenario that can't happen in the real world.
The scenario is the following:
- Two different incarnations of the same collection: create-drop-recreate, same namespace but different UUIDs
- Set the filtering metadata of the first incarnation (stale)
- Schedule a range deletion task for the second incarnation
- Expect point (3) to trigger a refresh and get the filtering metadata of the second incarnation (non-stale)
The test is wrong because it can NEVER happen that a range deletion task is created on the second incarnation without a previous successful refresh: a range deleter task is created because of a moveChunk, and a moveChunk can only happen with updated metadata.
So the short story is: it can never happen on a specific shard to have stale filtering metadata for COLL and a range deletion task associated with "non-stale" COLL.
- is depended on by
-
SERVER-64464 Check the shard version for collections when AutoGetCollection is instantiated
- Closed