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

Prohibit unsafe comparisons against feature compatibility version

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Sharding
    • Fully Compatible
    • Sharding 2017-09-11, Storage 2017-10-23

      To facilitate cleaning up dead code after splitting the master development branch from the 3.6 release branch, comparisons against serverGlobalOptions.featureCompatibility.version should be restricted to asking the question "is the current version 3.4?" By making this restriction, when we remove the constants for v3.4 in the development branch and add the v3.8 constants instead, the compiler will direct our developers to branches that are now always-taken or never-taken.

      Note, this task does not include auditing comparisons against the feature compatibility version to ensure that they are race-free or otherwise correct.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: