[SERVER-28758] Implement UpdateNode::mergeTrees() Created: 12/Apr/17 Updated: 12/Oct/17 Resolved: 23/May/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.8 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Tess Avitabile (Inactive) | Assignee: | Justin Seyster |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Query 2017-05-08, Query 2017-05-29 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 23/May/17 ] |
|
Author: {u'username': u'jseyster', u'name': u'Justin Seyster', u'email': u'justin.seyster@mongodb.com'}Message: |
| Comment by Githook User [ 19/May/17 ] |
|
Author: {u'username': u'jseyster', u'name': u'Justin Seyster', u'email': u'justin.seyster@mongodb.com'}Message: We decided on a goal of moving towards exception throwing for |
| Comment by Githook User [ 08/May/17 ] |
|
Author: {u'username': u'jseyster', u'name': u'Justin Seyster', u'email': u'justin.seyster@mongodb.com'}Message: This initial implementation supports merging for UpdateObjectNodes. In |