[SERVER-39423] secondaries already possessing an index replicated via startIndexBuild oplog entry should vote for commit immediately Created: 07/Feb/19  Updated: 28/Mar/20  Resolved: 27/Mar/20

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Gregory Wlodarek
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-46659 Make initial sync work with two phase... Closed
related to SERVER-47067 Do not run 'rolling_index_builds_seco... Closed
is related to SERVER-47164 Drop any existing indexes conflicting... Closed
Backport Requested:
v4.4
Sprint: Execution Team 2020-03-23
Participants:

 Description   

This can occur if a simultaneous index build is run on the same index on a primary that a rolling index build only put on one or more secondaries.

Prior to this ticket, receipt on a secondary of a startIndexBuild oplog entry for an index that the secondary already has will cause a crash. This is the more elegant solution.



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

Author:

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

Message: Revert "SERVER-39423 Secondaries already possessing an index replicated via startIndexBuild oplog entry should vote for commit immediately"

This reverts commit d4e0124cd1837b2e42a90d089e8f97e0f59f87d4.
Branch: v4.4
https://github.com/mongodb/mongo/commit/57943b75a25348c6d506cf751b6d25bbc8df08bf

Comment by Githook User [ 27/Mar/20 ]

Author:

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

Message: Revert "SERVER-39423 Secondaries already possessing an index replicated via startIndexBuild oplog entry should vote for commit immediately"

This reverts commit 4870cb1a9dbefc1007a8d35f0be25d385e9f95f8.
Branch: master
https://github.com/mongodb/mongo/commit/a22ca630d0f533af0a260018690699473d51f2ee

Comment by Githook User [ 18/Mar/20 ]

Author:

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

Message: SERVER-39423 Secondaries already possessing an index replicated via startIndexBuild oplog entry should vote for commit immediately

(cherry picked from commit 4870cb1a9dbefc1007a8d35f0be25d385e9f95f8)
Branch: v4.4
https://github.com/mongodb/mongo/commit/d4e0124cd1837b2e42a90d089e8f97e0f59f87d4

Comment by Githook User [ 18/Mar/20 ]

Author:

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

Message: SERVER-39423 Secondaries already possessing an index replicated via startIndexBuild oplog entry should vote for commit immediately
Branch: master
https://github.com/mongodb/mongo/commit/4870cb1a9dbefc1007a8d35f0be25d385e9f95f8

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