[SERVER-40585] UpdateNode should not derive from UpdateExecutor Created: 11/Apr/19  Updated: 29/Oct/23  Resolved: 29/Apr/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.11

Type: Task Priority: Major - P3
Reporter: James Wahlin Assignee: James Wahlin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-40381 Add the ability to specify a pipeline... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-04-22, Query 2019-05-06
Participants:

 Description   

Instead create an UpdateExecutor derivation which owns an UpdateNode. As part of this work, change the UpdateNodeVisitor to visit only UpdateNode, handling other UpdateExecutors outside of the visitor pattern.

Additionally, let's rename ObjectReplaceNode to ObjectReplaceExecutor under this ticket, to reflect that it is no longer an UpdateNode.



 Comments   
Comment by Githook User [ 29/Apr/19 ]

Author:

{'email': 'james@mongodb.com', 'name': 'James Wahlin', 'username': 'jameswahlin'}

Message: SERVER-40585 UpdateNode should not derive from UpdateExecutor
Branch: master
https://github.com/mongodb/mongo/commit/71e13919c25fbf839d2a65b8c7842f9466e3876a

Comment by Githook User [ 29/Apr/19 ]

Author:

{'name': 'James Wahlin', 'username': 'jameswahlin', 'email': 'james@mongodb.com'}

Message: SERVER-40585 UpdateNode should not derive from UpdateExecutor
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/afac3344e9ce24fdfcfb6cecf3fd612d525ec120

Generated at Thu Feb 08 04:55:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.