Use range bounded cursors for restoring index cursors after yielding

XMLWordPrintableJSON

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

      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:
            Shin Yee Tan
            Reporter:
            Deepti Hasija (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: