SERVER-110364ClosedFixed

Resharding data replication should not restart cloner when rebuilt after a failover while building indexes

The data replication class takes in a parameter called cloningDone to indicate whether or not to restart the cloners after failovers. Currently, the cloningDone is set to true only when [recipient is in a phase > kBuildingIndex|https://github.com/10gen/mongo/blob/0fdbb0d9e4564bdca71d71c0ede460bf8b0afebe/src/mongo/db/s/resharding/resharding_recipient_service.cpp#L948]. This parameter should be set to false when rebuilding the data replication object during building index because reaching that pha

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
8.3.0-rc0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.