Operational Defect Database

BugZero found this defect 74 days ago.

MongoDB | 2600433

Update FCV generic constant clang tidy rule to work with FCV Snapshot

Last update date:

3/13/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

Description:

Info

In SERVER-67234 we added a clang tidy rule to ban uses of FCV constants, but since we changed getting the FCV from mongo::multiversion::FeatureCompatibilityVersion to FCVSnapshot this rule does not work anymore (see here).

Top User Comments

xgen-internal-githook commented on Wed, 13 Mar 2024 17:52:35 +0000: Author: {'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'} Message: SERVER-87566 Fix mongo-fcv-constant-check clang-tidy rule (#19847) GitOrigin-RevId: d61e639f43072e74379fb661bcf8363f894383a5 Branch: master https://github.com/mongodb/mongo/commit/8d3ca8d1a08ca54f40d87192935a9338aeba9514 JIRAUSER1272726 commented on Tue, 12 Mar 2024 04:00:05 +0000: https://github.com/10gen/mongo/pull/19847

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...