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

Query execution error message "EOO" returned to user instead of the correct message

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.7
    • 2.6.4, 2.7.6
    • Querying
    • None
    • Fully Compatible
    • ALL

    Description

      > db.foo.drop()
      true
      > for (var i = 0; i < 20001; i++) { db.foo.insert({a: i}); }
      > db.runCommand({group: {ns: "foo", key: {a: 1}, $reduce: function(a, b) {}, initial: {}}})
      { "ok" : 0, "errmsg" : "EOO", "code" : 2 }

      The message that should be returned above instead of "EOO" is "group() can't handle more than 20000 unique keys".

      Attachments

        Activity

          People

            rassi J Rassi
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: