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

An AutoGetCollectionForReadLockFree instantiated under a AutoGetCollectionForRead with an already open storage snapshot invariants

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-02-22
    • 52

    Description

      Lock-free reads must be able to handle AutoGetCollectionForReadLockFree being instantiated under an AutoGetCollectionForRead that has already opened a storage snapshot/transaction. OR, abandonSnapshot() must be called before or in AutoGetCollectionForReadLockFree somehow.

      Scenario where the bug surfaced:
      dumpChunks uses a DBDirectClient for a query. There is an AutoGetCollectionForRead instantiated already instantiated. A query was in-progress when the error occurred that resulted in the DBDirectClient use for better error reporting.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: