Operational Defect Database

BugZero found this defect 163 days ago.

MongoDB | 2519865

Add FCV gating to dots and dollars validation on 5.0

Last update date:

3/14/2024

Affected products:

MongoDB Server

Affected releases:

5.0.23

Fixed releases:

5.0.26

Description:

Info

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.

Top User Comments

xgen-internal-githook commented on Wed, 13 Mar 2024 17:36:55 +0000: Author: {'name': 'Carlos Alonso', 'email': 'calonso@users.noreply.github.com', 'username': 'calonso'} Message: SERVER-84004 Consider FCV for dots and dollars validation (#19907) GitOrigin-RevId: 5910141954aafac2e8507cc19510c69df113c0bf Branch: v5.0 https://github.com/mongodb/mongo/commit/bb10a2ea9144499feff0730f485ae878ce4cf55d

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...