[SERVER-40407] Add support for '$$NOW' and '$$CLUSTER_TIME' within the findAndModify command Created: 01/Apr/19  Updated: 29/Oct/23  Resolved: 19/May/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Write Ops
Affects Version/s: None
Fix Version/s: 4.1.12

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Bernard Gorman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-40397 Add the ability to specify a pipeline... Closed
is depended on by SERVER-40419 Remove feature flag guard of pipeline... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-05-20, Query 2019-06-03
Participants:

 Description   

This will likely involve accepting an additional argument to the update command, like we do for 'runtimeConstants' in aggregate. It will also involve propagating those constants from the update command on mongos or generating them on mongod in unsharded deployments.



 Comments   
Comment by Githook User [ 19/May/19 ]

Author:

{'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}

Message: SERVER-40407 Add support for $$NOW and $$CLUSTER_TIME in the findAndModify command
Branch: master
https://github.com/mongodb/mongo/commit/209ea38bcc2cfb68e0374e14814fc18461cebc58

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