ExpressionContext::getChangeStreamSpec() should return by const ref

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-10-27
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ExpressionContext::getChangeStreamSpec() currently returns a full copy of the change stream properties, which is not efficient.
      It should return the properties by const reference instead.

            Assignee:
            Jan Steemann
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: