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

Rebuilding unfinished unindexes one at a time can error

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Index Maintenance, Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2018-04-23
    • 13

      At startup, all unfinished indexes are rebuilt. However, the code rebuilds them one index at a time.

      If there are multiple unfinished indexes `checkUnfinished` will return an error, that in this case, crashes the server.

      Alternatively, the index rebuilding code for opening the catalog rebuilds all indexes simultaneously.

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: