[SERVER-39533] Hook up abortIndexBuild such that primaries write it on simul index build failure, and secondaries handle its receipt. Created: 12/Feb/19  Updated: 29/Oct/23  Resolved: 11/Sep/19

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

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:
Depends
is depended on by SERVER-39002 killOp against a primary index build ... Closed
is depended on by SERVER-39239 Two-phase index builds on secondaries... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-09-23
Participants:

 Description   

SERVER-39239 sets up index builds on secondaries to wait for a commitIndexBuild oplog entry before committing an index.

This ticket hooks up abortIndexBuild. The primary's index build should write an abortIndexBuild oplog message whenever it fails. The secondary's index build should not fail prior to the loop added in SERVER-39239 to wait for commitIndexBuild, so we'll add handling for an abortIndexBuild oplog entry there as well.

This is a first basic implementation, so later we'll functionality to react to abortIndexBuild signals at earlier points in the index build.



 Comments   
Comment by Githook User [ 11/Sep/19 ]

Author:

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

Message: SERVER-39533 IndexBuildsCoordinator emits abortIndexBuild oplog entry on index build failure
Branch: master
https://github.com/mongodb/mongo/commit/8cd307c097460f10ca0a6255a1dfcfa7f2a4ebbb

Comment by Githook User [ 10/Sep/19 ]

Author:

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

Message: SERVER-39533 add oplog entry checks to indexbg_killop_primary.js
Branch: master
https://github.com/mongodb/mongo/commit/2e1b904ebc056dc758cd71007f7e8c0bca3e85f6

Comment by Githook User [ 10/Sep/19 ]

Author:

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

Message: SERVER-39533 apply_ops_idempotency.js filters out abortIndexBuild oplog entries during replay
Branch: master
https://github.com/mongodb/mongo/commit/b9e29cd56ebc9aca06f68eeeda7c523d3dfd6d41

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