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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.9.2, 3.2.13, 3.4.4, 3.5.6
    • None
    • None
    • Storage 2017-04-17

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: