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

Mongos tries to create user database on config server when replica set name is 'admin'

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.1
    • 3.0.0-rc8
    • Sharding
    • None
    • Minor Change
    • ALL
    • Hide

      Create a sharded environment with one shard, a replica set named 'admin' and then try to insert a single document into some unsharded collection. You will get this error:

      mongos> db.unsharded.insert({x:1})
      WriteResult({
      	"nInserted" : 0,
      	"writeError" : {
      		"code" : 14037,
      		"errmsg" : "can't create user databases on a --configsvr instance"
      	}
      })

      Show
      Create a sharded environment with one shard, a replica set named 'admin' and then try to insert a single document into some unsharded collection. You will get this error: mongos> db.unsharded.insert({x:1}) WriteResult({ "nInserted" : 0, "writeError" : { "code" : 14037, "errmsg" : "can't create user databases on a --configsvr instance" } })
    • Sharding 1 04/03/15

    Attachments

      Activity

        People

          daniel.alabi@10gen.com Daniel Alabi
          daniel.alabi@10gen.com Daniel Alabi
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: