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

Make 3.4 mongod fail gracefully in featureCompatibilityVersion 3.6 cluster

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Sprint:
      Storage 2017-10-02
    • Linked BF Score:
      0

      Description

      In SERVER-29350, we modify mongod to return supported wire versions (6,6) when receiving an isMaster command from an internalClient when the featureCompatibilityVersion is 3.6.

      As a result, when starting a new replica set with a 3.6 primary and a 3.4 secondary, the secondary spins, logging:

      remote host has incompatible wire version: IncompatibleServerVersion: Server
      min and max wire version are incompatible (6,6) with client min wire version
      (0,5)
      

      Instead, the processes should quickly exit with a non-zero exit code and a useful error message. The error message should display a "MustUpgrade" error code and should link to the documentation for the 3.4=>3.6 upgrade process.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: