[SERVER-38714] Standalone replica set nodes with unfinished indexes should drop them on --repair Created: 19/Dec/18  Updated: 29/Oct/23  Resolved: 25/Feb/20

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

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

Issue Links:
Depends
depends on SERVER-38177 Repair with bind_ip results in a null... Closed
depends on SERVER-38351 Clear _unfinishedIndexes from IndexCa... Closed
Related
related to SERVER-44468 Enable characterize_index_builds_on_r... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-02-24, Execution Team 2020-03-09
Participants:

 Description   

If a replica set member is restarted in standalone mode in repair with unfinished indexes, and if --repair salvages collection data, then we will drop the unfinished index builds since that member cannot rejoin the replica set at that point. If no salvage is needed, the unfinished index builds will be left untouched (i.e. not validated or rebuilt).



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

Author:

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

Message: SERVER-38714 Drop unfinished indexes on modified collections during repair when run on a replica set node
Branch: master
https://github.com/mongodb/mongo/commit/73fb5d72b14681b683681f65eb16a332ae090f3d

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