[SERVER-50539] extend resumable index build majority wait to support deadline Created: 25/Aug/20  Updated: 29/Oct/23  Resolved: 27/Aug/20

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

Type: Task 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:
Related
is related to SERVER-50519 resumable index build hangs waiting f... Closed
is related to SERVER-48476 resumable index build should use majo... Closed
is related to SERVER-49847 Turn on resumable index build feature... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-09-07
Participants:

 Description   

Resumable index builds currently wait indefinitely for the majority commit point before starting the collection scan. The underlying ReplicationCoordinator function supports an optional deadline to limit the waiting period and it would be useful to extend resumable index builds with a configurable deadline for the majority wait with a reasonably short default duration.

This also serves as a workaround for SERVER-50519.



 Comments   
Comment by Githook User [ 27/Aug/20 ]

Author:

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

Message: SERVER-50539 resumable index builds waits for majority optime with a deadline
Branch: master
https://github.com/mongodb/mongo/commit/cec8b9e870e8101bc25b902837fb830790c50fa0

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