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

prevent adding a binary last-stable shard if the cluster is upgrading or downgrading

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.4
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-02-26

    Description

      This only needs to go into v3.6, because v3.8 will remove the addShard FCV & WireVersion check courtesy of changes to be done in SERVER-32519

      We bump the wire version (here) if we're fully upgraded, upgrading or downgrading. However, in addShard (here) we only prevent adding the shard if we're fully upgraded.

      So, currently, if we're in the process of upgrading, we'll allow an old binary version shard to be added, and then we'll presumable finish upgrading and no server will talk to it ever again.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            dianna.hohensee@mongodb.com Dianna Hohensee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: