Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58299

agg_mongos_merge.js should check that featureFlagShardedLookup exists before trying to get its value

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Query Optimization 2021-07-12, Query Optimization 2021-07-26

      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.

            Assignee:
            katherine.wu@mongodb.com Katherine Wu (Inactive)
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: