Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38702

Set up FCV for simultaneous index builds

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Storage
    • None
    • Storage Execution

    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.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-execution Backlog - Storage Execution Team
              dianna.hohensee@mongodb.com Dianna Hohensee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: