[SERVER-4149] reimplement update and delete using query optimizer cursor Created: 26/Oct/11  Updated: 11/Jul/16  Resolved: 21/Dec/11

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 2.1.0

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

Issue Links:
Depends
is depended on by SERVER-4669 query optimizer refactoring after mig... Closed
is depended on by SERVER-4670 query optimizer refactoring and perfo... Closed
Participants:

 Comments   
Comment by auto [ 11/Mar/12 ]

Author:

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

Message: SERVER-4149 Set 'doing deletes' on QueryOptimizerCursorOp's ClientCursor to prevent unnecessary checks and warning messages when touching an earlier iterate with only one active plan; will not affect behavior when the ClientCursor yields
Branch: master
https://github.com/mongodb/mongo/commit/97ef31c5eaab0e6a2a5e0f8e6566c41970f1f357

Comment by auto [ 20/Dec/11 ]

Author:

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

Message: SERVER-4149 reenable supportYields verify check
Branch: master
https://github.com/mongodb/mongo/commit/f2968db61913ee4b9be5e6401836ced0f606ce35

Comment by auto [ 15/Dec/11 ]

Author:

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

Message: SERVER-4148 SERVER-4149 add some comments, convert an assert to a verify
Branch: master
https://github.com/mongodb/mongo/commit/ad23655b1d9a68c7f7b085c0edb60e3336b055e8

Comment by auto [ 15/Dec/11 ]

Author:

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

Message: SERVER-4149 avoid double counting matches for the index selection quota in certain yielding cases
Branch: master
https://github.com/mongodb/mongo/commit/dd62235d71bd2afcf2c9713a33f07892186ae458

Comment by auto [ 15/Dec/11 ]

Author:

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

Message: SERVER-4149 don't protect cursor if it is already exhausted
Branch: master
https://github.com/mongodb/mongo/commit/ad9b8224b3145f1f1cd227a3e3774d79fdac7e02

Comment by auto [ 12/Dec/11 ]

Author:

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

Message: SERVER-4148 SERVER-4149 Implement several query optimizer cursor optimizations due to more frequent use of the query optimizer cursor in place of simple cursors.
Branch: master
https://github.com/mongodb/mongo/commit/bb58eded1207f43c4db2a6c88d72d908c7a1d305

Comment by auto [ 12/Dec/11 ]

Author:

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

Message: SERVER-4148 SERVER-4149 utilize new Cursor interface operations for count, update, and delete.
Branch: master
https://github.com/mongodb/mongo/commit/6529f9aa1ba5e41c97c819fe374ea4fe4f09d441

Comment by auto [ 12/Dec/11 ]

Author:

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

Message: SERVER-4148 SERVER-4149 add new Cursor interface functions to perform matching and clarify the nature of a partial Cursor context yield.
Branch: master
https://github.com/mongodb/mongo/commit/4e08c88fbe69d09a9bbf07a91d94347b4d916d0d

Comment by auto [ 12/Dec/11 ]

Author:

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

Message: SERVER-4149 rather than forward doingDeletes to the query optimizer cursor, clear the QueryPlanSet::Runner when handing off scanning to the takeover cursor, for equivalent performance
Branch: master
https://github.com/mongodb/mongo/commit/ba581b3b5f15ac17395a149b33d592bbe4d43066

Comment by auto [ 12/Dec/11 ]

Author:

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

Message: SERVER-4148 SERVER-4149 update test for new index caching behavior
Branch: master
https://github.com/mongodb/mongo/commit/00ca77d9c5efb4f48215e0406a6490571f6c4ba6

Comment by auto [ 12/Dec/11 ]

Author:

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

Message: SERVER-4148 SERVER-4149 return a QueryOptimizerCursor when a non optimal recorded plan is used, to allow failing over to another query plan; stop recording optimal plans to facilitate this implementation
Branch: master
https://github.com/mongodb/mongo/commit/cc688328b1e799273a7d7e1ccf508275edb3a423

Comment by auto [ 12/Dec/11 ]

Author:

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

Message: SERVER-4149 update checkLocation() to accommodate SERVER-4401 changes to advance
Branch: master
https://github.com/mongodb/mongo/commit/f4adf5f3d38ee85f764edf64d392fc96aeb94f4f

Comment by auto [ 12/Dec/11 ]

Author:

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

Message: SERVER-4149 new update and delete implementation checkpoint
Branch: master
https://github.com/mongodb/mongo/commit/61b387e7c1d45c5db889176488892c3e18df0b66

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