[SERVER-2133] Uncaught exception: distinct failed Created: 22/Nov/10 Updated: 16/Jan/11 Resolved: 16/Jan/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.6.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Troy Davisson | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS 5.4, 64-bit, Xen environment |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
Using the 1.6.5-rc2- 2010-11-21 nightly build I have a capped collection called "hits2" which is set with a size of 1GB (if it means anything, I'm running into the same thing with a different collection capped at 100MB). When using the mongo shell and running distinct() on a particular key of the documents, it works fine until the capped collection is full. Now, most of the time that this is executed, I get the following error message:
I can sometimes get the distinct() command to return results and sometimes it will return a partial list before throwing the error mid-way through. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 16/Jan/11 ] |
|
Was fixed by: |
| Comment by Lennart Koopmann [ 03/Dec/10 ] |
|
(The collection I tried to distinct from was also capped) |
| Comment by Lennart Koopmann [ 03/Dec/10 ] |
|
Same here. It was happening all the time while i was inserting a lot of data into the collection I tried to distinct from. I really inserted a lot of data there in a looping script that took all the CPU time it could get. Fri Dec 3 02:07:09 [conn285] graylog2 Assertion failure 0 db/../bson/bsonelement.h 448 I was using v1.6.3 (a Debian stable) Thanks, |
| Comment by Troy Davisson [ 22/Nov/10 ] |
|
If it helps, I'll also add that this appears to happen when a new object is added to the collection (or maybe when an old object is purged from the collection?) while the distinct() command is gathering results. If I stop the logging process which adds about 30 new documents/sec to this collection, the results are returned without any apparent issues. |