[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.
When dumping it, and reading output from bsondump, the field is equally repeated several times, with same values...
There's nothing in particular with the field name, other than having a * (asterisc) in the middle (in order to substitute the DOT), like other fieldnames which doesnt appear repeated.
The field is located at an embeded doc, its path is: domainCounters.site*com.counts (integer)

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
ndobanana*com:

{ h: 1 }

, 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
*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 }

, testimposs*com:

{ h: 1 }

, mu
ndobanana*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 }

, mundoban
ana*com:

{ h: 1, u: 1 }

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

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