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

Reading and writing FCV is asymmetric in sharded clusters

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 4.0.3
    • Fix Version/s: Backlog
    • Component/s: None

      Description

      https://docs.mongodb.com/manual/reference/command/setFeatureCompatibilityVersion/ states that setting FCV is done on a mongos, but reading the FCV back on a mongos is not allowed.

      Writing:

      > For a sharded cluster, run the command on a mongos instance.

      Reading:

      > The operation is undefined on the mongos instances. For a sharded cluster that has access control enabled, to run the command against a member of the shard replica set, you must connect to the member as a shard local user.

      Why is mongos able to write FCV but not read it back?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-sharding Backlog - Sharding Team
              Reporter:
              oleg.pudeyev Oleg Pudeyev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: