[SERVER-1863] addToSet with $each changes order of incoming array Created: 27/Sep/10  Updated: 12/Jul/16  Resolved: 27/Sep/10

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: 1.7.1

Type: Bug Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Minor Change
Operating System: ALL
Participants:

 Comments   
Comment by auto [ 27/Sep/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: don't sort incoming arrays for $addToSet/each SERVER-1863
http://github.com/mongodb/mongo/commit/bde74e641390db642e6a81d4ca701081eac4f1fd

Comment by Eliot Horowitz (Inactive) [ 27/Sep/10 ]

Going forward array will be in insertion order

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