SERVER-138116ClosedWon't Do

Keep index build attempt counts accurate across rollback

SERVER-136668 keeps a per-node count of each unfinished two-phase index build's attempts after unclean shutdowns in local.system.indexBuilds, and a node votes to abort a build once its count exceeds maxIndexBuildAttemptsAfterUncleanShutdown. The count is deleted in the same write as the build's commit or abort (SERVER-137566). Writes to local aren't rolled back, so the counts can be inaccurate in some cases when rollback undoes part of a build: - *Rollback commit/abortIndexBuild* - the build r

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
index-build-improvementsindex-builds