[SERVER-39719] Ensure that a node performing an initial sync from a secondary with a in-progress index build creates the index before initial sync is done Created: 21/Feb/19  Updated: 29/Oct/23  Resolved: 27/Feb/19

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

Type: Bug Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-25175 listIndexes shouldn't include in-prog... Closed
depends on SERVER-39787 Add buildUUID as an allowed index spe... Closed
depends on SERVER-39723 Change listIndexes command behavior t... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Storage NYC 2019-02-25, Storage NYC 2019-03-11
Participants:

 Description   

This issue arose from the work done in SERVER-25175.
A secondary node that is initial syncing from another secondary node with an in-progress index build, will not build the in-progress index build during the initial sync phase. It will only build the finished indexes from the secondary node that it is initial syncing from.

The work for this ticket is to write a test to showcase the correct behaviour. We will need to revert the work done in SERVER-25175 to make the test work.



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

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-39719 Ensure that a node performing an initial sync from a secondary with a in-progress index build creates the index before initial sync is done
Branch: master
https://github.com/mongodb/mongo/commit/906df445b9b994dd2f8e5ae481400876412497b2

Comment by Githook User [ 25/Feb/19 ]

Author:

{'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-39719 Ensure that a node performing an initial sync from a secondary with a in-progress index build creates the index before initial sync is done

(cherry picked from commit efefc4f94203c3e6119916b89255017d117e982f)
Branch: v4.0
https://github.com/mongodb/mongo/commit/54cc4d76250719b247080c1195d4b672322d989e

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