Details
Description
An assert of stale_mongos_and_restarted_shards_agree_on_shard_verion.js is checking how many full refreshes are done in a very specific scenario. The problem is that this test would like to check how many full refreshes were completed but what it is actually checking is how many full refreshes were started.
In order to fix that we could decrement the countFailedRefreshes counter. Nnote that this counter includes failed incremental AND failed full refreshes, but I think that for this case it is ok.