[SERVER-44186] allow index builds to continue running on stepdown Created: 24/Oct/19  Updated: 29/Oct/23  Resolved: 29/Oct/19

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

Type: Improvement Priority: Major - P3
Reporter: Benety Goh 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-43692 enable two phase index builds by default Closed
Problem/Incident
causes SERVER-45028 move timestamping logic for completin... Closed
Related
related to SERVER-44397 index build continues to enforce cons... Closed
related to SERVER-44190 Adapt hybrid_index_build_on_state_tra... Closed
related to SERVER-44198 Complete TODO listed in SERVER-39484 Closed
related to SERVER-44654 allow unique index builds to continue... Closed
is related to SERVER-38986 Timestamp drained writes from the ind... Closed
is related to SERVER-39085 move secondary oplog application logi... Closed
is related to SERVER-39451 Add recover to a stable timestamp log... Closed
is related to SERVER-39452 Add rollback via refetch logic for st... Closed
is related to SERVER-39484 Add step-up and step-down state trans... Closed
is related to SERVER-44121 allow Index builds to opt out of the ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-11-04
Participants:

 Description   

This applies to two phase index builds only. Previously, the index build would be aborted on stepdown.



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

Author:

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

Message: SERVER-44186 allow index builds to continue running on stepdown

This applies to two phase index builds only. Previously, the index build
would be aborted on stepdown.
Branch: master
https://github.com/mongodb/mongo/commit/9f984cadb3f42696b818cd1183eebc533739db08

Comment by Githook User [ 27/Oct/19 ]

Author:

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

Message: SERVER-44186 add js test for testing index build failover
Branch: master
https://github.com/mongodb/mongo/commit/cbe0aee62546b9672baf66133a682da5fa3e58a5

Comment by Githook User [ 27/Oct/19 ]

Author:

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

Message: SERVER-44186 index builds use same OperationContext::writesAreReplicated() setting across primaries and secondaries
Branch: master
https://github.com/mongodb/mongo/commit/80c13a3f72d3721ce6de872231170b18c0dc6ff5

Comment by Githook User [ 27/Oct/19 ]

Author:

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

Message: SERVER-44186 IndexBuildsCoordinator checks replication state before writing commitIndexBuild oplog entry
Branch: master
https://github.com/mongodb/mongo/commit/1613fab5c5b62845c11b7624f9a6c64cad8255b0

Comment by Githook User [ 26/Oct/19 ]

Author:

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

Message: SERVER-44186 IndexBuildsCoordinator waits for commit/abort depending on the node's current replication state
Branch: master
https://github.com/mongodb/mongo/commit/2e51e445a7ea5222a92012715a26689e41730ce0

Comment by Githook User [ 26/Oct/19 ]

Author:

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

Message: SERVER-44186 rename IndexBuildOptions::replSetAndNotPrimary to replSetAndNotPrimaryAtStart
Branch: master
https://github.com/mongodb/mongo/commit/bb35ec679887e30101f69c71ebbd531635acb184

Comment by Githook User [ 26/Oct/19 ]

Author:

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

Message: SERVER-44186 createIndexes command logs interruption exception details
Branch: master
https://github.com/mongodb/mongo/commit/3d9d8d9989c3f1912c934b9c22c9413ab1495af0

Generated at Thu Feb 08 05:05:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.