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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 3.1.9
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Quint 9 09/18/15
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

              Assignee:
              yunhe.wang YunHe Wang
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: