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

Reorder log slot release so joins don't wait on IO

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.2, 3.2.13, 3.4.4, 3.5.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-04-17

      We have seen cases on insert heavy workloads where there may be a lot of slot join races. Looking at the code in log_slot_switch_internal the switching thread is calling wt_log_release where we write the buffer contents to the file system on the slot that is still in log->active_slot. Investigate whether we can set up a new slot as the active slot first, and then write the moved-aside slot.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: