SERVER-117624ClosedFixed
Long running index builds may create temporary unavailability upon rename in sharded clusters
The rename DDL coordinator retries indefinitely whenever errors happen during the commit phase (SERVER-61416) . While this ensures that the rename operation eventually completes, it may pose a temporary unavailability risk. After acquiring the critical section (blocking CRUDs), if an index build is ongoing on the *source* collection on one or more shards, the operation will [fail|ttps://github.com/mongodb/mongo/blob/eb58aeaa87059dce6d28715c1d9cc7522bc4cff1/src/mongo/db/shard_role/shard_catalo