-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
We currently use utility functions like resolveReadPreference, in order to determine the correct read preference/write concern/read concern for operations. These should become properties of the potential sources for inheritance (e.g. MongoClient.readPreference, Db.readConcern), and those getters should look for inherited values in the absence of a set value, e.g.
class Db { get readPreference() { if (this.s.readPreference == null) { return this.s.client.readPreference; } return this.s.readPreference; } }
- is caused by
-
COMPASS-2744 Stuck in "loading navigation": db.admin() does not inherit full settings from db
- Closed