[SERVER-39484] Add step-up and step-down state transition logic to simul index builds Created: 09/Feb/19  Updated: 29/Oct/23  Resolved: 21/Oct/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-39451 Add recover to a stable timestamp log... Closed
is depended on by SERVER-39452 Add rollback via refetch logic for st... Closed
is depended on by SERVER-43692 enable two phase index builds by default Closed
Related
related to SERVER-45174 rollback should not abort single phas... Closed
related to SERVER-44198 Complete TODO listed in SERVER-39484 Closed
related to SERVER-48419 Extend rollback to recover resumable ... Closed
related to SERVER-44186 allow index builds to continue runnin... Closed
is related to SERVER-38667 Notify IndexBuildsCoordinator of repl... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-10-21
Participants:
Linked BF Score: 13

 Description   

There are points in an index build where behavior is dependent on whether the node is a primary or secondary, at the beginning and at the end of a build. Checks should be added for replica set member state, so that the build pivots to primary or secondary roles appropriately.



 Comments   
Comment by Githook User [ 20/Oct/19 ]

Author:

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

Message: SERVER-39484 IndexBuildsCoordinator unblocks index builds on rollback
Branch: master
https://github.com/mongodb/mongo/commit/61dfc203be6059572c22a1d7756ee4d27b1a9de2

Comment by Githook User [ 19/Oct/19 ]

Author:

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

Message: SERVER-39484 IndexBuildsCoordinator unblocks index builds on stepup
Branch: master
https://github.com/mongodb/mongo/commit/4f17a096fa79d3a37a7ede167f38fd3fbc56b209

Comment by Githook User [ 18/Oct/19 ]

Author:

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

Message: SERVER-39484 IndexBuildsCoordinator receives notifications on rollback/step up to primary

This partially restores some of the replication state transition functions removed in
commit adab6702bc9869557c14eb8b0e888c6e854f4593.
Branch: master
https://github.com/mongodb/mongo/commit/c00bee5ceaaff758eb01975f58d1c7a09432dea0

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