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

Count command should return InvalidNamespace instead of BadValue

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.4
    • 3.2.4, 3.3.4
    • Querying
    • None
    • Minor Change
    • ALL
    • Sharding 12 (04/01/16)
    • 0

    Description

      Currently if the count command is called with bad namespace the parsing code returns code BadValue (2), which is not very descriptive. It should be changed to error code InvalidNamespace (73).

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: