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

[CQF] Implement transport infrastructure using iteration rather than recursion

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • QO 2023-09-04, QO 2023-09-18, QO 2023-10-02
    • 105

      SERVER-78353 describes a stack overflow in the reference tracker, due to the transport infrastructure recursively navigating a deep tree. One solution to this problem would be to make the transport code iterative rather than recursive, using an explicit stack to walk the tree. This should not require any changes to code that uses the transport infrastructure. I expect only operator.h will change.

      This is also expected to improve reference tracker performance.

            Assignee:
            david.percy@mongodb.com David Percy
            Reporter:
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: