make config server update fcv 'targetVersion' at beginning of _configsvrSetFeatureCompatibilityCommand

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.5.13
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-10-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The config server should update the fcv targetVersion field at the beginning of _configsvrSetFeatureCompatibilityCommand (in contrast, on shards, the targetVersion field will be updated during the setFeatureCompatibilityCommand).

      In addition, the wire protocol version checks a mongod uses to determine what incoming wire versions to accept should be updated to accept only the highest wire version if the fcv targetVersion != the fcv version.

      This prevents a 3.4 mongos from modifying the authoritative sharding metadata on the config server during upgrade or downgrade.

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

                Created:
                Updated:
                Resolved: