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

Unable to start nodes in sharded cluster with 3.6.0-rc5

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.0-rc5
    • Component/s: Sharding
    • Labels:
      None
    • ALL
    • v3.6
    • Sharding 2017-12-04

      I'm using the following configuration file to try to start up a config server to set up a sharded cluster:

      net:
        bindIp: 0.0.0.0
        port: 27017
        ssl:
          mode: disabled
      processManagement:
        fork: "true"
      replication:
        replSetName: test
      sharding:
        clusterRole: configsvr
      storage:
        dbPath: data
        engine: wiredTiger
        wiredTiger:
          collectionConfig:
            blockCompressor: zlib
      systemLog:
        destination: file
        path: mongod.log
      

      When I run with it I get:

      $ mongod -f conf
      InvalidOptions: Cannot start a configsvr as a standalone server. Please start this node as a replica set using --replSet.
      try 'mongod --help' for more information
      

      The reason is this commit from SERVER-32051, which requires --replSet to be passed in the command line but does not take into account a replication.replSetName entry in the config file.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: