Details
Description
This code currently assumes that the collection is always sharded. When that's not the case, it ends up calling the ChunkManager::getVersion method that wasn't designed to be called over unsharded collections.
This code currently assumes that the collection is always sharded. When that's not the case, it ends up calling the ChunkManager::getVersion method that wasn't designed to be called over unsharded collections.