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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Dianna Hohensee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: