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

Improve log messaging when index builds get foregrounded because of startup recovery

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Execution Team 2020-06-01, Execution Team 2020-06-15

    Description

      When startup recovery (storage and replication) encounter an unfinished background index build, they rebuild the index in the foreground. Startup blocks until all indexes in this state complete building.

      The logging is clear that the indexes are being built as part of recovery, but it's not clear that the background: true flag on the index definition is explicitly being ignored.

      Attachments

        Issue Links

          Activity

            People

              gregory.noma@mongodb.com Gregory Noma
              daniel.gottlieb@mongodb.com Daniel Gottlieb
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: