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

Fix a deadlock in LSM

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                michael.cahill Michael Cahill
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: