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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 2018-02-26

      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.

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

              Created:
              Updated:
              Resolved: