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

txn_index_catalog_changes.js session garbage collection can deadlock with fsync lock in consistency checks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.1, 6.0.4, 6.2.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.1, v6.0
    • Execution Team 2022-11-14
    • 19

    Description

      txn_index_catalog_changes.js has a session object that goes out of scope before consistency checks are performed. When performing these consistency checks, we do an fsync lock. When the session object is garbage collected, it will try to run abortTransaction. If this occurs while the server is fsync locked, we can get stuck because the abortTransaction must wait for current optime to be majority committed before responding with NoSuchTransaction.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: