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

sharding.configsvrMode option not recognized when specified in yaml file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.1.8
    • Sharding
    • Fully Compatible
    • ALL
      1. Create yaml configuration file with sharding.configsvrMode set
      2. Start mongod -f CONF_FILE
    • Sharding 9 (09/18/15)

    Description

      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]$ 
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: