killOp must fail to kill secondary index build threads with a new OperationUnkillableOnSecondary error code, which will be added to the error_class NotMasterError, and an informative error message about trying to primary via killOp or dropIndexes.
This ticket will require some design work around how to generically mark an operation unkillable by killOp – shutdown still has to work.
- is related to
-
SERVER-39976 Two-phase index builds on primaries should ignore interrupts
- Closed
- related to
-
SERVER-34830 currentOp of replicated createIndexes does not display command name
- Closed
-
SERVER-38301 improve racy indexbg_drop.js test
- Closed