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

CollectionPtr created in the Database init code should not be yieldable

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2023-02-20
    • 160

    Description

      Creating yieldable CollectionPtr may trip invariant that the namespace is locked which may not be the case during Database initialization. No need for the CollectionPtr to be yieldable as it is never passed to Query.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: