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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.4
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            dianna.hohensee Dianna Hohensee
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: