[SERVER-47398] Stop using runtimeConstants, prefer 'let'. Created: 07/Apr/20  Updated: 02/Feb/24

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

Type: Improvement Priority: Major - P3
Reporter: Jacob Evans Assignee: Jacob Evans
Resolution: Unresolved Votes: 0
Labels: qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-47191 Implement evalutation of Expressions ... Closed
is depended on by SERVER-46384 Remove runtimeConstants from accepted... Backlog
Related
Assigned Teams:
Query Optimization
Sprint: QO 2024-02-05, QO 2024-02-19
Participants:

 Description   

The functionality offered by runtimeConstants is subsumed by the let parameters feature. Let's make sure we internally stop using runtimeConstants as soon as possible in this release. We'll need to leave some element of it in the serialized command-passing code for compatibility during upgrade.



 Comments   
Comment by Kyle Suarez [ 05/Sep/23 ]

Sending this to please be re-triaged by QO as it's depended on by SERVER-46384 and PM-3278. CC colin.stolley@mongodb.com and xuan.zhang@mongodb.com

Comment by Charlie Swanson [ 10/Dec/20 ]

I've completed one major part of this and pushed it. There is remaining work here which is really required before I can call the overall thing done. I'm returning this to "Open" for now, since I haven't meaningfully started on that part.

Comment by Githook User [ 01/Dec/20 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-47398 Start sending 'let' for aggregates.

Replaces usages of 'runtimeConstants' with 'let' parameters. This does
not replace usages for the write commands and for $merge. We will need
follow-up work for that.
Branch: master
https://github.com/mongodb/mongo/commit/a71a2a8bfecf7de0807a28e3eabf9412dddd4258

Comment by Githook User [ 01/Dec/20 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-47398 Rename runtime constants to legacy
Branch: master
https://github.com/mongodb/mongo/commit/1fba06eafa75520fb7ded3103f3832465023c6be

Generated at Thu Feb 08 05:14:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.