Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-751

Fix a deadlock in LSM

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Move the LSM tree rwlock inside the schema lock to avoid a deadlock (see WT-749).

      The big issue here is that we need to grab the schema lock before calling __clsm_open_cursors, because that function reads the LSM tree structure (so it needs a read lock), but it will probably also need the schema lock because it is opening some chunks for the first time in this session. It is unclear what impact this will have on performance.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael.cahill@mongodb.com Michael Cahill (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: