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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: 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
    • None

      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:
              Susan LoVerso (Inactive)
              Reporter:
              Susan LoVerso (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: