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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.3, 6.1.0-rc4, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: 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

      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. 

            Assignee:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Reporter:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: