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

Clear _unfinishedIndexes from IndexCatalog when restarting replica set member in standalone mode, without clearing persisted data

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Storage NYC 2018-12-17, Storage NYC 2018-12-31, Storage NYC 2019-01-14, Execution Team 2020-02-10

      This also must add a means of allowing createIndexes to request building an index that was cleared from the _unfinishedIndexes vector on startup.

      This means adding either a new code path that handles discovering an existing persisted catalog entry for the newly requested index, or modifying the existing one somehow. Probably the easiest action is to clear the persisted state and restart the index build from the beginning.

            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: