Optimize stack usage in buildEqLookupUnwind()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 9.0 Required
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-117874 introduced a new parameter (index slot) to a few functions in gen_lookup.cpp and so the size of some stack frame grew. This causes stack exhaustion when pipeline size is pushed to the limits.

      Find a way to reduce stack size to the size that'd allow 1000 $lookup/$unwind stages to execute in a single pipeline.

            Assignee:
            Daniel Tabacaru
            Reporter:
            Daniel Tabacaru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: