If the resharding is aborted by setFCV downgrade, the resharding can be in building-index phase while the FCV is already in downgrading, then thisĀ code will not be called and this massert will be hit.