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

Add a featureCompatibilityVersion document parser

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-03-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: