[JAVA-83] Only move _id when necessary **all drivers** Created: 21/Jan/10  Updated: 17/Oct/10  Resolved: 12/Feb/10

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3

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

Backwards Compatibility: Minor Change

 Description   

Cases:

Inserting a normal document: YES
Creating an index (type of insert): NO
Upsert: MAYBE? (need to test)
Sort: NO
Min/Max: NO

Also, should only move top-level _id to front, not _id in nested objects

Round-Robin: pass this bug to the next driver when you are done.



 Comments   
Comment by auto [ 17/Oct/10 ]

Author:

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

Message: some more work on MongoURI and removing some static
JAVA-83 JAVA-179
http://github.com/mongodb/mongo-java-driver/commit/0a0af2734e13bea5028bb7aa37a0d9dc945b50a6

Comment by auto [ 12/Feb/10 ]

Author:

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

Message: smarter about when to move _id to front JAVA-83
http://github.com/mongodb/mongo-java-driver/commit/9f523ce5a5f054d7f5c9dce113fcef8c33825b60

Comment by auto [ 28/Jan/10 ]

Author:

{'login': 'banker', 'name': 'Kyle Banker', 'email': 'kylebanker@gmail.com'}

Message: move id only when necessary RUBY-88
http://github.com/mongodb/mongo-ruby-driver/commit/e075d25a91ccc7154eae6509f89951e325c521ae

Comment by auto [ 26/Jan/10 ]

Author:

{'login': '', 'name': 'Mike Dirolf', 'email': 'mike@10gen.com'}

Message: only move _id to front for root documents, and only for inserts or second arg to update PYTHON-92
http://github.com/mongodb/mongo-python-driver/commit/f2462b4a720002593b7f5adf496c5cd4ac249773

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