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

Update framework should cache navigated paths to avoid re-traversing from the root when possible

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Write Ops
    • None
    • Query
    • Fully Compatible

    Description

      Right now, applying {{ { $set :

      { 'x.y.a' : 1, 'x.y.b' : 1 }

      }} requires re-traversing the target document twice. However, it should be possible to cache the initial traversal, and re-use that state to improve the second traversal.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: