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

Misspelling in assert message for sh.shardCollection()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0, 2.7.0
    • Component/s: Shell
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      start mongo shell
      sh.shardCollection()

      Show
      start mongo shell sh.shardCollection()

      Description

      In src/mongo/shell/utils_sh.js
      sh._checkFullName()

      s/neeed/need/

      assert failed : neeed a full name
      Error: assert failed : neeed a full name
      at Error (<anonymous>)
      at doassert (src/mongo/shell/assert.js:11:14)
      at assert (src/mongo/shell/assert.js:20:5)
      at Function.sh._checkFullName (src/mongo/shell/utils_sh.js:10:5)
      at Function.sh.shardCollection (src/mongo/shell/utils_sh.js:69:8)
      at (shell):1:4
      2014-03-26T19:55:23.053-0700 Error: assert failed : neeed a full name at src/mongo/shell/assert.js:13

        Attachments

          Activity

            People

            Assignee:
            matt.kangas Matt Kangas
            Reporter:
            quentin.conner Quentin Conner
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: