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

[v5.0] Add FCV gating to dots and dollars validation on 5.0

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.27
    • Affects Version/s: 5.0.23
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2024-02-05, QO 2024-02-19, QO 2024-03-04, QO 2024-03-18

      See HELP-53040 for motivation, as well as the docs.

      There was an oversight in PM-1856 where the logic to decide whether or not to validate . and $ fields is only dependent on the feature flag, but not the FCV version (see the scope of PM-1856).

      The fix for this should involve updating all checks to use `isEnabled()` instead of `isEnabledAndIgnoreFCV()`, and adding a test to verify that the FCV behavior is correct when upgrading/downgrading.

            Assignee:
            c.alonso@mongodb.com Carlos Alonso Pérez
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: