Remove repeated string constants related to featureCompatibilityVersion

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.13
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Query 2017-09-11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The dochub link "http://dochub.mongodb.org/core/3.6-feature-compatibility." is repeated throughout the code.

      The help message for setFeatureCompatibilityVersion and cluster setFeatureCompatibilityVersion also contain "3.4" and "3.6" as string constants.

      The error message for setting featureCompatibilityVersion also uses string constants for "3.4" and "3.6".

      It would be better if all of these string constants were variables so that they could be changed in one place and we would not forget to update any instance when we branch.

            Assignee:
            Tess Avitabile (Inactive)
            Reporter:
            Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: