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

Standalone mode nodes should ignore in-progress index builds on startup

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.4
    • Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-12-31, Storage NYC 2019-01-14, Execution Team 2020-02-10
    • 16

    Description

      Standalone nodes will ignore in-progress index builds so as not to deviate from their original replica sets. On rejoining the replica set, in replset mode, the in-progress index builds will be recovered and finished according to whether the replica set committed or aborted the index builds.

      This will also require correct handling of neglected index catalog entries if the createIndexes command is called while in standalone mode.

      The behavior is as follows:

      • createIndex will fail with a CannotBuildIndex error, explaining that the index must be dropped first.
      • dropIndex should succeed

      Attachments

        Issue Links

          Activity

            People

              louis.williams@mongodb.com Louis Williams
              dianna.hohensee@mongodb.com Dianna Hohensee
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: