[SERVER-43720] mongos and configsvr get/setDefaultRWConcern commands Created: 30/Sep/19  Updated: 29/Oct/23  Resolved: 17/Dec/19

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

Type: New Feature Priority: Major - P3
Reporter: Kevin Pulo Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-45221 Complete TODO listed in SERVER-43720 Closed
Duplicate
is duplicated by SERVER-43718 Make RWCDefaults persist changes Closed
Problem/Incident
Related
related to SERVER-45221 Complete TODO listed in SERVER-43720 Closed
is related to SERVER-45052 Separate out RWCDefault jstests into ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2019-12-16, Sharding 2019-12-30
Participants:
Linked BF Score: 16

 Description   

On MongoS:

  • setDefaultRWConcern - passes through to the same command on the config server
  • getDefaultRWConcern - passes through to the same command on the config server by default; if inMemory requested, then returns the locally cached value

On Config Server or Plain Replica Set (not a shard):

  • setDefaultRWConcern - persists to disk
  • getDefaultRWConcern - by default returns what's persisted on disk; if inMemory requested, then returns the locally cached value

On Shards:

  • setDefaultRWConcern - should error, because it must never be called directly
  • getDefaultRWConcern - should error, because it must never be called directly


 Comments   
Comment by Githook User [ 17/Dec/19 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-43720 Make RWCDefaults commands persist the defaults
Branch: master
https://github.com/mongodb/mongo/commit/ceeb1a0402e2d0f6f0f55808c16a90e8b30f106c

Comment by Githook User [ 12/Dec/19 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-43720 Add default read write concern commands to mongos and config server
Branch: master
https://github.com/mongodb/mongo/commit/15d3feea932e89bf6ee7f562c5274853c2bcb11c

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