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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.5.13
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2017-10-02

    Description

      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.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: