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

In $graphLookup iterate over memory more memory-efficiently

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-01-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When we iterate over _visited set when returning result(s), we can save memory by removing the element from the set right after we have processed it.

            Assignee:
            ivan.fefer@mongodb.com Ivan Fefer
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: