[SERVER-43338] [4.2] Dropping an admin.system.* index in FCV 4.0 can invariant on startup Created: 13/Sep/19  Updated: 29/Oct/23  Resolved: 23/Oct/19

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: 4.2.0
Fix Version/s: 4.2.2

Type: Bug Priority: Major - P3
Reporter: Danny Hatcher (Inactive) Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Execution Team 2019-11-04
Participants:
Case:

 Description   

Dropping an admin.system.* index while in FCV 4.0 can hit this invariant on startup.

This invariant is not true in FCV 4.0 because hybrid indexes are only enabled in FCV 4.2, so all indexes built during startup recovery will be built in the foreground. We should remove the invariant altogether.



 Comments   
Comment by Githook User [ 23/Oct/19 ]

Author:

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

Message: SERVER-43338 Dropping an admin.system.* index in FCV 4.0 can invariant on startup
Branch: v4.2
https://github.com/mongodb/mongo/commit/38b546849312f7ef7969d80d9e5d31932906a38f

Comment by Louis Williams [ 22/Oct/19 ]

Updating to reflect that this change only needs to made on the 4.2 branch.

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