SERVER-138112ClosedFixed

Skip the second voteAbortIndexBuild after the index build attempt limit's abort is accepted

When the primary accepts the attempt limit abort from _signalPrimaryForAbortIfOverAttemptLimit, the build fails, and the normal failure path (_signalPrimaryForAbortAndWaitForExternalAbort) sends voteAbortIndexBuild again. It's harmless, since the primary has already aborted, but it's a wasted round trip and a confusing log line. The failure path should skip the vote if the abort was already accepted.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue
Index Builds
Labels
Tags and classification
index-build-improvementsindex-builds