[SERVER-17902] findAndModify returns document with duplicated value field Created: 06/Apr/15  Updated: 21/Sep/15  Resolved: 21/Sep/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 3.0.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Asya Kamsky Assignee: Craig Wilson
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-18304 Duplicate "value" fields in the findA... Closed
Related
related to SERVER-6439 Duplicate fields at the same level sh... Backlog
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

This may be related to cases that hit a writeConflict with specific timing.

Exposed by C# driver which does not accept multiple fields having same name. (CSHARP-691)

Working on reproducer



 Comments   
Comment by Asya Kamsky [ 21/Sep/15 ]

Fixed for 3.0.3 as fix for SERVER-18304.

Comment by Asya Kamsky [ 21/Sep/15 ]

Same root cause.

Comment by Robert Stam [ 23/Jun/15 ]

Let's go with the theory that this might be related to WriteConflict exceptions... what can I do in my application to trigger WriteConflict exceptions?

Comment by Robert Stam [ 23/Jun/15 ]

Any clues as to what exactly triggers this behavior?

It would be easy to reproduce in C# if we knew what to reproduce.

I looked at SERVER-18213 and I don't think that is related.

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