[SERVER-45453] Change name and usage of $_internalJs to $function Created: 09/Jan/20 Updated: 29/Oct/23 Resolved: 10/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Percy | Assignee: | Katherine Wu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qopt-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Query 2020-01-27, Query 2020-02-10, Query 2020-02-24 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Rename $_internalJs to $function, and change how it parses its arguments.
Update MapReduce where necessary to generate $function expressions instead of $_internalJs. Because this is a new operator, we should restrict its use to FCV 4.4 to prevent problems with downgrade (for example, to prevent users from creating views that would be invalid on 4.2). But we should also make sure MapReduce still works on FCV 4.2, even though it uses this new operator internally. |
| Comments |
| Comment by Githook User [ 07/Feb/20 ] |
|
Author: {'name': 'Katherine Wu', 'username': 'kaywux', 'email': 'katherine.wu@mongodb.com'}Message: |
| Comment by Githook User [ 07/Feb/20 ] |
|
Author: {'username': 'kaywux', 'name': 'Katherine Wu', 'email': 'katherine.wu@mongodb.com'}Message: |
| Comment by Githook User [ 07/Feb/20 ] |
|
Author: {'name': 'Katherine Wu', 'username': 'kaywux', 'email': 'katherine.wu@mongodb.com'}Message: Revert " This reverts commit 656313f6c949a5c49c42d080548067d5a8c37047. |
| Comment by Githook User [ 07/Feb/20 ] |
|
Author: {'name': 'Katherine Wu', 'username': 'kaywux', 'email': 'katherine.wu@mongodb.com'}Message: Revert " This reverts commit f728989e5fd60166670ff223532be27ca1c81164. |
| Comment by Katherine Wu (Inactive) [ 07/Feb/20 ] |
|
I reverted my commit, it's in the commit queue now. |
| Comment by William Schultz (Inactive) [ 07/Feb/20 ] |
|
katherine.wu It looks like this commit may have broken some sharding suites. |
| Comment by Githook User [ 07/Feb/20 ] |
|
Author: {'name': 'Katherine Wu', 'username': 'kaywux', 'email': 'katherine.wu@mongodb.com'}Message: |
| Comment by Githook User [ 07/Feb/20 ] |
|
Author: {'name': 'Katherine Wu', 'username': 'kaywux', 'email': 'katherine.wu@mongodb.com'}Message: |