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

dbcase.js/dbcase2.js fail in sharding passthrough if write commands is enabled

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: 2.5.3
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Quint 9 09/18/15
    • 0

      dbcase.js and dbcase2.js pass if run directly without mongos using write commands. It looks like there is a different in the formatting of the returned object:

      direct to mongod:

      { "errmsg" : "exception: db already exists with different case other: [dbcasetest_dbnamea] me [dbcasetest_dbnameA]", "code" : 13297, "ok" : 0 }

      through mongos:

      { "$err" : "error creating initial database config information :: caused by :: can't have 2 databases that just differ on case have: dbcasetest_dbnamea want to add: dbcasetest_dbnameA", "code" : 13297 }

            Assignee:
            yunhe.wang YunHe Wang
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: