[SERVER-2800] distinct command: error message in 1.8 is wrong (or it's a bug) Created: 19/Mar/11  Updated: 16/Nov/21  Resolved: 14/Apr/11

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 1.8.0
Fix Version/s: 1.8.2, 1.9.0

Type: Bug Priority: Minor - P4
Reporter: Sergei Tulentsev Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

> db.version()
1.8.0
> db.runCommand({distinct : 'visits', key : 'viewer', query : {app_id : 626233}})
{
"errmsg" : "exception: distinct too big, 4mb cap",
"code" : 10044,
"ok" : 0
}

Cap in 1.8 should be 16mb.



 Comments   
Comment by auto [ 03/May/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: fix error message SERVER-2800
Branch: v1.8
https://github.com/mongodb/mongo/commit/ab257b80a20324c4090407cb3a2daf20b2ecc396

Comment by Mathias Stearn [ 14/Apr/11 ]

Just an error message change. Distinct already supports 16mb objects.

Comment by auto [ 14/Apr/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: fix error message SERVER-2800
Branch: master
https://github.com/mongodb/mongo/commit/cb89d4b543dd6e600ad7f593828952ad9f55139f

Comment by Sergei Tulentsev [ 12/Apr/11 ]

Fixed along with https://jira.mongodb.org/browse/SERVER-2801

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