[SERVER-1883] dropping previous clause or matches fails with nested field matches Created: 02/Oct/10  Updated: 12/Jul/16  Resolved: 12/Oct/10

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 1.6.4, 1.7.2

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

Operating System: ALL
Participants:

 Description   

In some cases where there is a match on a nested field of an $or clause, duplicate results may be returned.



 Comments   
Comment by auto [ 12/Oct/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-1883 expand nested array fields when testing document for match with previous or clause
http://github.com/mongodb/mongo/commit/13d28aae02cab41679bf09074fefd2b28bbe30c8

Comment by auto [ 12/Oct/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-1883 in or de duping, correctly retrieve nested field for match document
http://github.com/mongodb/mongo/commit/6f0c76a552e60f2768796f61e55088dfda66784d

Comment by Eliot Horowitz (Inactive) [ 09/Oct/10 ]

yeah - go ahead

Comment by Aaron Staple [ 04/Oct/10 ]

Should be ready to port now. Let me know if that's ok.

Comment by auto [ 03/Oct/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-1883 expand nested array fields when testing document for match with previous or clause
http://github.com/mongodb/mongo/commit/41b422b789dd8ce8c9ae57063bc6fcca29182912

Comment by Eliot Horowitz (Inactive) [ 03/Oct/10 ]

I think they probably can be backported.
Lets wait and see when your'e done

Comment by Aaron Staple [ 02/Oct/10 ]

Sorry, there is another edge case I need to deal with as well. It's been a long week

Comment by Aaron Staple [ 02/Oct/10 ]

Above commit fixes this in 1.7. Eliot, can I backport this?

Comment by auto [ 02/Oct/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-1883 in or de duping, correctly retrieve nested field for match document
http://github.com/mongodb/mongo/commit/d3b2dddd7400f0efec97e3d5913847ee5c5a20a0

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