[SERVER-12274] Fail-fast on invalid WriteConcern options in write commands Created: 07/Jan/14  Updated: 02/Aug/18  Resolved: 14/Jan/14

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

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

Issue Links:
Duplicate
is duplicated by SERVER-12012 apply semantic write concern checks b... Closed
is duplicated by SERVER-12184 Write Commands not behaving like new ... Closed
Related
is related to SERVER-12474 mongos gle no longer returns updatedE... Closed
is related to SERVER-12360 new sharded GLE must correctly emulat... Closed
Participants:

 Description   

Write concern options which are not valid for the host should fail with ok : false - j with no journal, wtimeout with no timeout, etc.



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

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12274 revert incorrect test changes to server7781.js
Branch: master
https://github.com/mongodb/mongo/commit/344596a194f5ae2ac474d24a744f1caa5877023f

Comment by Githook User [ 17/Jan/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12274 bugfix always report err: null if ok: true
Branch: master
https://github.com/mongodb/mongo/commit/6787339f2721619a4f33816e16e4cc9eae3121eb

Comment by Githook User [ 16/Jan/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12274 make osx happy by explicitly stack-alloc'ing temporary
Branch: master
https://github.com/mongodb/mongo/commit/70ca1f3933c4a89808bcc1a1fca37c7c45ec840d

Comment by Githook User [ 16/Jan/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12274 mongos GLE changes for better backwards compatibility
Branch: master
https://github.com/mongodb/mongo/commit/6be5ff60cf3233dff7fff542ded1a06b541076b1

Comment by Githook User [ 15/Jan/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12274 use new code for wmode tests
Branch: master
https://github.com/mongodb/mongo/commit/5e5fdb51b78b84a9acfaa5a18d3f59438a04841c

Comment by Githook User [ 15/Jan/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12274 bugfix append wc info to GLE, more wc error codes
Branch: master
https://github.com/mongodb/mongo/commit/288056872d40a1b40194937603f4456458586f22

Comment by Githook User [ 14/Jan/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12274 refactor validation out of waiting for write concern
Branch: master
https://github.com/mongodb/mongo/commit/13226efcd6638b707e0f4a64564d655cea9bc9c7

Comment by Githook User [ 14/Jan/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12274 fix write concern handling for batch downconversion
Branch: master
https://github.com/mongodb/mongo/commit/74ef4462c7d0a50ebc658a4f3f84f3c3e3ef3a99

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