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

Add backoff logic to the btree delete and walk yield loops

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.11, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-07-31

      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.

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

              Created:
              Updated:
              Resolved: