[SERVER-42007] Deprecate $currentDate update modifier Created: 28/Jun/19  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Aggregation Framework, Query Language
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-43661 Remove the $currentDate update modifier Backlog
is depended on by DRIVERS-743 Deprecate $currentDate update modifier Closed
Documented
is documented by DOCS-13059 Investigate changes in SERVER-42007: ... Closed
Related
related to SERVER-46247 Revert deprecation of $currentDate up... Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Major Change
Sprint: Query 2019-10-07
Participants:

 Description   

This can be better expressed using $$NOW and $$CLUSTER_TIME within a pipeline-style update and having two ways to do the same thing is confusing.



 Comments   
Comment by Charlie Swanson [ 12/May/21 ]

Re-opening this issue. It was closed/undone in SERVER-46247 but since then we have implemented improvements to the oplog entries for pipeline-based updates. I would like to reconsider this to decide if we should include $currentDate in API Version 1.

Comment by James Wahlin [ 19/Feb/20 ]

We decided not to deprecate $currentDate for MongoDB 4.4 and have reverted the changes made under this ticket. See SERVER-46247 for details.

Comment by Githook User [ 19/Feb/20 ]

Author:

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

Message: Revert "SERVER-42007 Deprecate $currentDate update modifier"

This reverts commit c1cefc2d974832bb62d73bea3498ec417c332e7b.
Branch: master
https://github.com/mongodb/mongo/commit/e6a5c661be1d4c33273f73e01665109778ae8333

Comment by Githook User [ 03/Oct/19 ]

Author:

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

Message: SERVER-42007 Deprecate $currentDate update modifier
Branch: master
https://github.com/mongodb/mongo/commit/c1cefc2d974832bb62d73bea3498ec417c332e7b

Comment by Charlie Swanson [ 28/Jun/19 ]

arun.banala, bernard.gorman tells me your sprint might be a bit light so if you could pick this one up that'd be awesome. Assigning to you in hopes that will happen.

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