[SERVER-79361] IDL compatibility script may fail to compile IDL on older branches if compiler changes Created: 26/Jul/23  Updated: 02/Feb/24  Resolved: 21/Aug/23

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

Type: Bug Priority: Major - P3
Reporter: Xuerui Fa Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: repl-shortlist
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-78441 test_api_version_compatibility is not... Closed
is depended on by SERVER-79106 Audit/Remove unnecessary ignore lists... Closed
Related
related to SERVER-86176 Add support for new required fields i... Needs Scheduling
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2023-08-21, Repl 2023-09-04
Participants:

 Description   

The IDL compatibility script uses the current IDL parser to parse older versions. This will break the script if the compiler has been modified between the older versions and now.

This was found in SERVER-78441, where the required shouldBeFCVGated field that we added to the IDL parser for feature flags started to fail compile for 7.0 IDL files that don't specify shouldBeFCVGated.



 Comments   
Comment by Githook User [ 21/Aug/23 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-79361 Make the IDL compatibility checker script stop parsing feature flags in IDL files
Branch: master
https://github.com/mongodb/mongo/commit/946cd9f1358cb5d0223561db7bcc4aa3734ef0ff

Generated at Thu Feb 08 06:40:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.