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

Investigate if we can avoid save/restore in UpdateStage

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: