[SERVER-15203] Query execution error message "EOO" returned to user instead of the correct message Created: 10/Sep/14  Updated: 24/Nov/14  Resolved: 17/Sep/14

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 2.6.4, 2.7.6
Fix Version/s: 2.7.7

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: J Rassi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

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



 Comments   
Comment by Githook User [ 17/Sep/14 ]

Author:

{u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-15203 Correctly read error strings from WorkingSet status objs
Branch: master
https://github.com/mongodb/mongo/commit/ba726b4ee22efc2ea9b86b52724e0a4081c16c53

Generated at Thu Feb 08 03:37:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.