BugZero found this defect 59 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
3/21/2024
MongoDB Server
No affected releases provided.
No fixed releases provided.
The CheckShardFilteringMetadata hook is executed on teardown of ShardingTest: for each node of each shard, if the shard owns at least one chunk for a collection it makes sure that the cached metadata are correct. This is wrong because we can't assume that each secondary has already replicated the cached chunks and instantiated the filtering metadata before the cluster is teared down.