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

Misspelling in assert message for sh.shardCollection()

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.6.0, 2.7.0
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Hide

      start mongo shell
      sh.shardCollection()

      Show
      start mongo shell sh.shardCollection()

      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

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

              Created:
              Updated:
              Resolved: