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

Ensure we do not yield strong locks upon startup recovery when _id index is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.3, 6.1.0-rc4, 6.2.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.1, v6.0
      • skip building an '_id' index for new collections¬†
      • startup a mongod instance and create a new collection
      • insert 1500 documents¬†
      • shutdown and upon starting up, we should hit the invariant
    • Execution Team 2022-10-03

    Description

      If we yield in startup recovery, upon building a missing _id index we can hit an invariant. This can probably be avoided by setting the index build method to foreground prior to building the index. 

      Attachments

        Issue Links

          Activity

            People

              fausto.leyva@mongodb.com Fausto Leyva
              fausto.leyva@mongodb.com Fausto Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: