[SERVER-46783] New accumulators and MR operators should be FCV 4.4 only Created: 10/Mar/20  Updated: 29/Oct/23  Resolved: 16/Mar/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.4.0
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Bug Priority: Major - P3
Reporter: David Percy Assignee: David Percy
Resolution: Fixed Votes: 0
Labels: qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Query 2020-03-23
Participants:

 Description   

$accumulator should be available only when FCV is kFullyUpgradedTo44.  We need to extend the REGISTER_ACCUMULATOR macro, similar to REGISTER_EXPRESSION_WITH_MIN_VERSION.

We can also mark $_internalJsReduce and $_internalJsEmit as 4.4 only.  These internal operators are part of the new mapReduce implementation, and mongos should only produce them on FCV 4.4.



 Comments   
Comment by Githook User [ 20/Mar/20 ]

Author:

{'name': 'David Percy', 'username': 'dpercy', 'email': 'david.percy@mongodb.com'}

Message: SERVER-46783 Mark $accumulator, $_internalJs operators as FCV 4.4 only
Branch: v4.4
https://github.com/mongodb/mongo/commit/4def5398d709dc5eadd8190289abe8a617069fb7

Comment by Githook User [ 16/Mar/20 ]

Author:

{'name': 'David Percy', 'username': 'dpercy', 'email': 'david.percy@mongodb.com'}

Message: SERVER-46783 Mark $accumulator, $_internalJs operators as FCV 4.4 only
Branch: master
https://github.com/mongodb/mongo/commit/8701918d4343079334bee1f995fe8eb2ba12ac42

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