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

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

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

      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@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: