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

Remove raw projection BSON from projection stages

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: 4.3 Desired
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Query 2019-11-18

      Currently we store a raw projection BSON within the base projection stage

      This BSON object is required (after the stage has been constructed) to populate projection stats, which is only used by explain. If we can know up-front whether we will actually need to populate the stats, then we can pass the raw projection as an optional parameter, instead of keeping it around all the time.

      This ticket is created to consider this possibility.

            Assignee:
            anton.korshunov@mongodb.com Anton Korshunov
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: