[SERVER-33561] Add a featureCompatibilityVersion document parser Created: 28/Feb/18  Updated: 29/Oct/23  Resolved: 02/Mar/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-31968 Refactor FCV component code in order ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-03-12
Participants:

 Description   

FeatureCompatibilityVersion::toString and FeatureCompatibilityVersion::parse should be moved to this new parser file.

Along with:

  • kParameterName, kVersionField and kTargetVersionField from FeatureCompatibilityVersion.
  • kVersion36, kVersion40, kVersionDowngradingTo36, kVersionUpgradingTo40 and kVersionUnset from FeatureCompatibilityVersionCommandParser.

FeatureCompatibilityVersion:: kCommandName should move into feature_compatiiblity_version_command_parser.h/cpp where it logically belongs.

--------
Reason for rearrangement: to break up dependencies.
feature_compatibility_version.cpp is a pretty high level file, and users of the constants and toString and parse functions can be lower level, sometime necessitating ugly file linking or making it impossible to link with. See SERVER-31968.



 Comments   
Comment by Githook User [ 02/Mar/18 ]

Author:

{'email': 'dianna.hohensee@10gen.com', 'name': 'Dianna Hohensee', 'username': 'DiannaHohensee'}

Message: SERVER-33561 Add a FCV parser file, refactoring FCV code
Branch: master
https://github.com/mongodb/mongo/commit/34f11b4c929ee4f5bd6924d44f55ac5ae7b2b4e5

Generated at Thu Feb 08 04:33:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.