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

sharding.configsvrMode option not recognized when specified in yaml file

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.8
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • ALL
      1. Create yaml configuration file with sharding.configsvrMode set
      2. Start mongod -f CONF_FILE
    • Sharding 9 (09/18/15)

      If I try to run mongod 3.1.7 with sharding.configsvrMode specified in the yaml configuration file, mongod complains "Unrecognized option: sharding.configsvrMode". This does not happen if I instead specify --configsvrMode on the command line.

      [tim@neurofunk dbs]$ cat cfg1/mongod.conf 
      net:
        port: 9007
      replication:
        replSetName: csrs
      sharding:
        clusterRole: configsvr
        configsvrMode: sccc
      storage:
        dbPath: /Users/tim/dbs/cfg1
      [tim@neurofunk dbs]$ /tmp/mms-automation/test/versions/mongodb-osx-x86_64-3.1.7/bin/mongod -f cfg1/mongod.conf 
      Unrecognized option: sharding.configsvrMode
      try '/tmp/mms-automation/test/versions/mongodb-osx-x86_64-3.1.7/bin/mongod --help' for more information
      [tim@neurofunk dbs]$ 
      

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            tim.olsen@mongodb.com Timothy Olsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: