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

Investigate if we can avoid save/restore in UpdateStage

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution

      Right now in UpdateStage we perform a PlanStage::saveState before making changes and a PlanStage::restoreState afterwards. These operations can potentially be expensive and costly.

      We should investigate whether we can omit them in some cases. If not, then we should leave a comment explaining why we can't do that as it is not clear why they are needed.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: