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

Fix a deadlock in LSM

    • Type: Icon: Task Task
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: