SERVER-138284ClosedFixed

index_build_killop_secondary_before_commit.js races the killOp response against the expected server crash

The second phase of {{jstests/noPassthrough/index_builds/index_build_killop_secondary_before_commit.js}} (killOp on the secondary after the index build voted for commit, failpoint {{hangIndexBuildAfterSignalPrimaryForCommitReadiness}}) intentionally crashes the secondary with fassert 51101. However the test issues the killOp with {{assert.commandWorked(secondaryDB.killOp(opId))}} before checking for the crash. The killOp interrupt is what causes the crash, so there is an inherent race between th

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

No components specified.

Labels
Tags and classification

No labels assigned.