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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.9
    • 2.5.3
    • Sharding
    • None
    • Fully Compatible
    • Quint 9 09/18/15
    • 0

    Description

      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 }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: