[SERVER-12113] need something like ClientCursor::mutatedInPlace? Created: 16/Dec/13  Updated: 11/Jul/16  Resolved: 21/Jan/14

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Querying, Storage
Affects Version/s: None
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: hari.khalsa@10gen.com
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-12046 Invalidate doc before mutation for ne... Closed
Operating System: ALL
Participants:

 Description   

Issues:

  • update in-place mutates a document
  • in-place mutation may change the values of predicates evaluated via ixscans or filters. therefore we may return invalid results from query unless we broadcast the mutation.
  • when a doc invalidation occurs, sort right now drops the doc. ditto for other stages.
  • we don't want to drop docs whenever possible if in-place updates occur, therefore:
  • may need to re-sort or evaluate full match expression at end.


 Comments   
Comment by Githook User [ 21/Jan/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-12113 keep mutated docs in query results when it's sane to
Branch: master
https://github.com/mongodb/mongo/commit/5df691c9c829b6ef1666b41943e13e72c9a89520

Comment by Githook User [ 14/Jan/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-10026 SERVER-12046 SERVER-12113 runner/stage invalidation can be mutation or deletion
Branch: master
https://github.com/mongodb/mongo/commit/12c261b2cb30ed3e50261abad95df249a5503283

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