[SERVER-38702] Set up FCV for simultaneous index builds Created: 19/Dec/18  Updated: 06/Dec/22  Resolved: 23/Sep/19

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: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-37966 Do not wait for index build completio... Closed
related to SERVER-38910 Remove redundant rollback handling on... Closed
Assigned Teams:
Storage Execution
Participants:

 Description   

FCV 4.0 should perform v4.0 single-phase index builds. FCV 4.2 should execute two-phase index builds across a replica set.

This ticket should be done after:

  • the new index catalog entry fields and config.system.indexBuilds documents are fully functional – need the persisted flag whether the index build began in FCV 4.0 or 4.2 to be safely persisted and in-memory.
  • simultaneous index builds work

createIndexes oplog entries via applyOps should be protected against?

Index builds that begin in FCV 4.0, in order to parallel v4.0 index builds, should be aborted on primary stepdown and should not be recovered on start up if begun on a primary.

Furthermore, consider whether any special handling of the behavior in SERVER-39003 is needed: it adds functionality not to drop the index build temp table on server restart. FCV 4.0 builds recovered on startup may need to deliberately drop those before discarding.

Lastly, SERVER-38910 discovered that logic to rebuild one-phase dropped indexes cannot be removed because upgrade from v4.0 for v4.2 must be supported.



 Comments   
Comment by Benety Goh [ 23/Sep/19 ]

FCV constants are available in SERVER-41230 for index builds. We will incorporate FCV checks in individual work tickets.

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