[SERVER-37729] killOp must fail to kill secondary index build threads Created: 24/Oct/18  Updated: 29/Oct/23  Resolved: 29/Nov/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.6

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-34830 currentOp of replicated createIndexes... Closed
related to SERVER-38301 improve racy indexbg_drop.js test Closed
is related to SERVER-39976 Two-phase index builds on primaries s... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-11-19, Storage NYC 2018-12-03
Participants:
Linked BF Score: 20

 Description   

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.



 Comments   
Comment by Githook User [ 29/Nov/18 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-37729 background index builds on secondaries cannot be interrupted by killOp
Branch: master
https://github.com/mongodb/mongo/commit/41c44d02cf39ef581888bed68c547e4ed9b5a323

Comment by Githook User [ 29/Nov/18 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-37729 IndexBuilder updates CurOp using createIndexes format
Branch: master
https://github.com/mongodb/mongo/commit/03e13f90426a82a97cbb0f926385e09904519259

Comment by Githook User [ 29/Nov/18 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-37729 characterize existing killOp behavior on background indexes in a replica set

Includes some test cleanup in current tests for standalone mode and the listIndexes command.
Branch: master
https://github.com/mongodb/mongo/commit/477ca02e7b0acd4d84b5982b0862d0405446480e

Generated at Thu Feb 08 04:46:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.