[SERVER-11665] Refactor waitForWriteConcern() functionality Created: 12/Nov/13  Updated: 11/Jul/16  Resolved: 04/Dec/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.5

Type: Improvement Priority: Major - P3
Reporter: Greg Studer 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
Participants:

 Description   

waitForWriteConcern should have struct input and output.

A few small changes:

  • remove jnote
  • make m/s majority w:1
  • j=true with nojournalling on will fail


 Comments   
Comment by Githook User [ 04/Dec/13 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-11665 fix get_last_error.js for DUROFF builders
Branch: master
https://github.com/mongodb/mongo/commit/3efa89a5b6738c57db72994e7c8bbebdbf266479

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: fix getLastError reporting of some errors
Branch: master
https://github.com/mongodb/mongo/commit/927f1b7cf5b312a35e54816429d5339852fbc612

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: new waitForWriteConcern function fails with specfic error codes for legacy errors that were ok
this makes new code clean, but lets us easily not break old code
Branch: master
https://github.com/mongodb/mongo/commit/4af02504fea1a0f94e5da691f771ba200d62041f

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: majority for master/slave should be w=1, other w=mode should fail
Branch: master
https://github.com/mongodb/mongo/commit/043966cc4ab7c78558bb3bf8cc7627acba29f4fa

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: make write concern semantics match 2.4
Branch: master
https://github.com/mongodb/mongo/commit/e836e71b13e091ed06defa87b91c49e5f720c72f

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: revert change to test for getLastError standalone w handling
Branch: master
https://github.com/mongodb/mongo/commit/6915fce7fa2609b8214c4fc211465d5e005f3017

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: add timing in writeConcern result for sync time
Branch: master
https://github.com/mongodb/mongo/commit/f2b96d98f8c5be601832d984fe089940a4012624

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: clean up some names, and fix error error code on waiting error
Branch: master
https://github.com/mongodb/mongo/commit/1766b460efaaee908ebe664cb6e5b28c702ab12d

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: refactor waitForWriteConcern
new structs instead of BSONObj
Branch: master
https://github.com/mongodb/mongo/commit/ff4308beb1716d245779effef81acdef7686cc2c

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11665: move getLastError command into its own file
Branch: master
https://github.com/mongodb/mongo/commit/422008092af78f42d4df67baa9bab15162872328

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