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

Implement UpdateNode::mergeTrees()

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.8
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2017-05-08, Query 2017-05-29

      This should merge two UpdateNodes and error if the trees cannot be merged. If the two nodes are UpdateObjectNodes, children with the same field name are merged. Issue ErrorCodes::ConflictingUpdateOperators if we ever try to merge two UpdateLeafNodes or two UpdateNodes of different types.

      For now, we assume UpdateArrayNode does not exist.

            Assignee:
            justin.seyster@mongodb.com Justin Seyster
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: