|
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
|