[SERVER-38711] Set failpoint before starting index build in hybrid_unique_index_with_updates Created: 19/Dec/18  Updated: 29/Oct/23  Resolved: 20/Feb/19

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

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2019-02-11, Storage NYC 2019-02-25
Participants:
Linked BF Score: 17

 Description   

Currently, we set the hanging failpoint after starting the background build, but somehow the failpoint wins the race before starting the index build almost every time.

The doDuringFailpoint function should set the failpoint, call buildIndexInBackground, unset the failpoint, then wait for the index build to complete.



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

Author:

{'name': 'Louis Williams', 'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com'}

Message: SERVER-38711 Set failpoint before starting index build in hybrid_unique_index_with_updates
Branch: master
https://github.com/mongodb/mongo/commit/8d18f3593747f5ef5ca6f40cf37014de117e1c9d

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