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

Add backoff logic to the btree delete and walk yield loops

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.11, WT3.0.0
    • None
    • None
    • Storage 2017-07-31

    Description

      The loops assume that pages will change state quickly, so busy waiting is reasonable. We've seen cases in other parts of the code where that isn't the case - we should add backoff to the yield loops, to avoid saturating CPU with busy waiting if page state transitions take longer than expected.

      Attachments

        Issue Links

          Activity

            People

              vamsi.krishna@mongodb.com Vamsi Boyapati
              vamsi.krishna@mongodb.com Vamsi Boyapati
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: