[SERVER-11558] Update (save -- upsert:true w/_id) reorders _id field Created: 04/Nov/13  Updated: 06/Mar/14  Resolved: 11/Nov/13

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

Type: Bug Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: reorder
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-11556 insert command does not move _id fiel... Closed
Operating System: ALL
Participants:

 Description   

> db.e.save({a:1, _id:4})
> db.e.find({_id:4})
{ "_id" : 4, "a" : 1 }


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