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

Add functionality to LockManager to restore locks for prepared transactions during replset state transitions

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Repl 2018-09-10, Repl 2018-09-24

    Description

      Replication state transitions take the global X lock.  For state transitions in the presence of prepared transactions we will need a way to temporarily yield the locks held by prepared transactions while we do the state transition, and then atomically restore the lock state for each prepared transaction and drop the global X lock held by the thread driving the replset state transition.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: