Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-65528

Use range bounded cursors for restoring index cursors after yielding

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-08-08, Execution Team 2022-08-22, Execution Team 2022-09-05, Execution Team 2022-09-19
    • 105

      TTL indexes reposition the cursor often to continue deleting the obsolete records. The repositioning uses a search_near which is biased to walk in one direction looking for the records than the other. This could cause a performance issue if the cursor has to walk through a lot of deleted records. The bounded cursor offers a means to limit the range the search_near has to walk, potentially improving the performance.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            deepti.hasija@mongodb.com Deepti Hasija (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: