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

sharding.configsvrMode option not recognized when specified in yaml file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.8
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      1. Create yaml configuration file with sharding.configsvrMode set
      2. Start mongod -f CONF_FILE
    • Sprint:
      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

            Assignee:
            renctan Randolph Tan
            Reporter:
            tim.olsen Timothy Olsen
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: