[SERVER-58299] agg_mongos_merge.js should check that featureFlagShardedLookup exists before trying to get its value Created: 06/Jul/21  Updated: 29/Oct/23  Resolved: 12/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jason Chan Assignee: Katherine Wu (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-56366 Update FCV constants in server code b... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query Optimization 2021-07-12, Query Optimization 2021-07-26
Participants:

 Description   

agg_mongos_merge.js currently reads the featureFlag value of featureFlagShardedLookup without checking whether the field exists. However, it's possible that this will fail against multiversion tests when we start running it in suites that execute against 5.0/5.1 binaries since it looks like the feature flag doesn't exist on 5.0.

For now, the tests are blacklisted from multiversion testing because of the requires_fcv_47 flag. However, this tag will no longer be in use after https://jira.mongodb.org/browse/SERVER-56366.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 12/Jul/21 ]

Author:

{'name': 'Katherine Wu', 'email': 'katherine.wu@mongodb.com', 'username': 'kaywux'}

Message: SERVER-58299 Make sure featureFlagShardedLookup exists in agg_mongos_merge.js
Branch: master
https://github.com/mongodb/mongo/commit/9f2e4f87ef230db06db82e021e6f569871c56ac1

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