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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-12-31, Storage NYC 2019-01-14, Execution Team 2020-02-10
    • 16

      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

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

              Created:
              Updated:
              Resolved: