[DOCS-3308] Tutorial model-data-for-atomic-operations needs clarification Created: 30/Apr/14  Updated: 16/Mar/15  Resolved: 06/Jun/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.6

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

Participants:
Days since reply: 9 years, 36 weeks, 5 days ago

 Description   

http://docs.mongodb.org/manual/tutorial/model-data-for-atomic-operations/ page does not demonstrate or explain why they need findAndModify and not update for this - contributing to mistaken impression that update is not by itself atomic



 Comments   
Comment by Githook User [ 06/Jun/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-3308 tweak sentence part 2
Branch: master
https://github.com/mongodb/docs/commit/6947452d14e20fd9375d5b453593832acc809b9d

Comment by Githook User [ 06/Jun/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-3308 clean up intro and additonal blurbs for atomic operation model page
Branch: master
https://github.com/mongodb/docs/commit/d39ed2254be14b0e9cca1d95d1d83defb684cd1b

Comment by Githook User [ 06/Jun/14 ]

Author:

{u'username': u'asya999', u'name': u'Asya Kamsky', u'email': u'asya999@gmail.com'}

Message: changing findAndModify to update

See DOCS-3308 - changing findAndModify to update to hopefully reduce confusion out in the world that you need findAndModify to make an atomic update. Obviously findAndModify could be added to this as a note that it is also atomic, but it returns the document that has been changed (which doesn't seem necessary in this case, since we have the _id for it).

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/930c906d8a2f6feb5cad26c5514beb96b8392a2e

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