The mongos process knows which shard holds which part of the data.