[SERVER-7175] Build basic update() driver functionality Created: 26/Sep/12  Updated: 02/Aug/18  Resolved: 10/Jul/13

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

Type: Task Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-12266 Update no longer allows empty modifie... Closed
Participants:

 Description   

This is the code that handles writing ops to the journal and oplog for all update modifiers, where it was previously handled in each modifier.

  • decide how to validate a set of mods ongoing
  • figure out interface with journaling
  • figure out if we need compression and how


 Comments   
Comment by auto [ 23/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7175: create oplog entry query w/id field
Branch: master
https://github.com/mongodb/mongo/commit/b7215685ff469fd04d5581df54537bedbb976f14

Comment by auto [ 22/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7175: reduce padding on inplace updates
Branch: master
https://github.com/mongodb/mongo/commit/bc05a457d5acb38e818996a6ffaac2b74149cb40

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7175 Teach the update driver to do updates in place.
Branch: master
https://github.com/mongodb/mongo/commit/290750178aee02a006f730205068fc8cffcb7031

Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7175: allow enabling new update framework at runtime
Branch: master
https://github.com/mongodb/mongo/commit/4fcb787834f6286cd42f07b798bc39efe2eec727

Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7175: only use matched field when found
Branch: master
https://github.com/mongodb/mongo/commit/f1f85413baff9d0db1f715fa6051817d4d0d0277

Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7175 Deduplicate entry stream and account updates properly.
Branch: master
https://github.com/mongodb/mongo/commit/d3eb1d9463bf4bb1c799ac9a4dd110346e17c3fe

Comment by auto [ 05/Jul/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7175 Support for catching conflicting mods in the update driver.
Branch: master
https://github.com/mongodb/mongo/commit/1961a5d66cee7d9bc102cc2ff6f189c4c4306895

Comment by auto [ 31/May/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7175 Take a StringData from a stable source.
Branch: master
https://github.com/mongodb/mongo/commit/6fe21d54ac7046265322f98d322f1bdece3f22d8

Comment by auto [ 31/May/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7175 Use the proper call to determine how to route updates.
Branch: master
https://github.com/mongodb/mongo/commit/8bad41e8f65744266c503ca4ccb38e16aefa15e5

Comment by Eric Milkie [ 31/May/13 ]

Looks like it might be all DEBUG builds.. the Clang OS X debug C++11 builder is having the same problem:
http://buildbot-special.10gen.com/builders/Nightly%20OS%20X%2064-bit%2010.7%20C%2B%2B11%20DEBUG%20Subscription/builds/114/steps/test_2/logs/stdio

Comment by Eric Milkie [ 31/May/13 ]

modifier_table_test.exe is failing on Windows Debug (possibly on Windows release as well; they haven't run yet):

*******************************************
Test : modifier_table_test.exe ...
Command : D:\slave\Windows_64bit_DEBUG\mongo\build\win32\64\dd\mongo\db\ops\modifier_table_test.exe
Date : Fri May 31 08:47:23 2013
Fri May 31 08:47:24.258 [UNKNOWN] going to run suite: getType
Fri May 31 08:47:24.258 [UNKNOWN] going to run test: Normal
Fri May 31 08:47:24.258 [UNKNOWN] FAIL: Normal Expected getType("$set") == MOD_SET (12 == 8) @src\mongo\db\ops\modifier_table_test.cpp:32
Fri May 31 08:47:24.258 [UNKNOWN] DONE running tests
Fri May 31 08:47:24.258 [UNKNOWN] going to run suite: makeUpdateMod
Fri May 31 08:47:24.258 [UNKNOWN] going to run test: Normal
Fri May 31 08:47:24.258 [UNKNOWN] DONE running tests
Fri May 31 08:47:24.258 [UNKNOWN] **************************************************
342.9999 ms
test D:\slave\Windows_64bit_DEBUG\mongo\build\win32\64\dd\mongo\db\ops\modifier_table_test.exe exited with status 17

Comment by auto [ 31/May/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7175 Towards lint happiness
Branch: master
https://github.com/mongodb/mongo/commit/a1725351eabf7ded026c50a474f6e4504fe0f17c

Comment by auto [ 31/May/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7175 Initial support for routing updates to the new framework.
Branch: master
https://github.com/mongodb/mongo/commit/bb426ee877b62c914931ce49ef12a333f8fabe3e

Comment by auto [ 18/Dec/12 ]

Author:

{u'date': u'2012-12-18T19:11:23Z', u'email': u'alerner@10gen.com', u'name': u'Alberto Lerner'}

Message: SERVER-7175 Established the interface between the update driver and the "mods".
Branch: master
https://github.com/mongodb/mongo/commit/d718db426cef14ab4ecccff4d2233f95fed81f82

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