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

need more helpful error message for unauthorized connection on splitChunk

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • ALL

      Unauthorized connection for splitChunk results in unhelpful error message.

      http://buildbot.mongodb.org/builders/Linux%2064-bit/builds/3755/steps/test_3/logs/stdio/text

      m40000| Fri Oct 14 22:27:04 [conn12] assertion 10057 unauthorized db:config lock type:-1 client:10.110.9.236 ns:config.shards query:{}
      m30999| Fri Oct 14 22:27:04 [conn1] warning: splitChunk failed - cmd: { splitChunk: "test.foo", keyPattern:

      { _id: 1.0 }

      , min:

      { _id: MinKey }

      , max:

      { _id: MaxKey }

      , from: "bs-linux64.10gen.cc:30000", splitKeys: [

      { _id: 1.0 }

      ], shardId: "test.foo-_id_MinKey", configdb: "bs-linux64.10gen.cc:40000" } result:

      { errmsg: "exception: field not found, expected type 2", code: 13111, ok: 0.0 }

      {
      "cause" :

      { "errmsg" : "exception: field not found, expected type 2", "code" : 13111, "ok" : 0 }

      ,
      "ok" : 0,
      "errmsg" : "split failed"
      }
      assert failed

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: