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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.7
    • Affects Version/s: 2.6.4, 2.7.6
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      > 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".

            Assignee:
            rassi J Rassi (Inactive)
            Reporter:
            rassi J Rassi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: