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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.2, 3.2.13, 3.4.4, 3.5.6
    • Labels:
      None
    • Sprint:
      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

            • Assignee:
              sue.loverso Sue LoVerso
              Reporter:
              sue.loverso Sue LoVerso
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: