[SERVER-3121] Doing find() at console documents show duplicated field names Created: 19/May/11 Updated: 29/May/12 Resolved: 02/Sep/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: | cristian gonzalez | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | duplication, fieldname, repeated, repeated-fieldname | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 10.04.1 LTS, Amazon EC2 64 bits instance |
||
| Operating System: | Linux |
| Participants: |
| Description |
|
Using java driver to post documents in mongodb, performing a find() function on the console, some field-names appear repeated several times, all with the same values, when updating it: they behave like one. The problem here, is the fear of erroneously growing documents, unexpectedly without pattern, with no solution to the 4Mb doc. limit |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 31/May/11 ] |
|
Can you provide (attach) the bson dump of this data? |
| Comment by Eliot Horowitz (Inactive) [ 19/May/11 ] |
|
Can you send the code that you had to produce that? |
| Comment by cristian gonzalez [ 19/May/11 ] |
|
Collection validation run with results: Ok: 1, Valid: true |
| Comment by cristian gonzalez [ 19/May/11 ] |
|
This's a piece of the bsondump output, cannot entirely paste it: ....multiverse*foros*ws: { h: 24, u: 4 }, mundial-futbol*abc*es: { h: 6, u: 2 }, mundialsudafrica2010*info: { h: 22, u: 8 }, testimposs*cl: { h: 23, u: 1 }, testimposs*com: { h: 2754 , u: 2 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1 }, mu , testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 2 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1, u : 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs , testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, mu , testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1 }, mundoban , testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h : 1, u: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 1, u: 1 }, testimposs*com: { h: 3, u: 2 }, testimposs*com: { h: 1 }, testimposs*com: { h: 2 }, testimposs*com: { h : 1, u: 1 }, testimposs*com: { h: 1 }, testimposs*com: { h: 1 }, testimposs*com........... |