Overload DocumentSourceExtensionOptimizable create() to accept parseNode handle

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When extensions are sent from the router to the shard, they have already been expanded on the router. However, after being serialized, the shard cannot recognize that the stage has already been expanded.

      To prevent an unnecessary additional expansion call on the shard, we should add a DocumentSourceExtensionOptimizable constructor that "skips" DocumentSourceExtensionExpandable entirely, given that the parseNode passed through only expands to a single, extension-allocated astNode.

            Assignee:
            Josh Siegel
            Reporter:
            Josh Siegel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: