-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.3.0
-
Component/s: None
-
None
The Server Selection Spec says:
The current list of "may-use-secondary" commands includes:
- group
- mapreduce
- aggregate
- collStats, dbStats
- count, distinct
- geoNear, geoSearch, geoWalk
- parallelCollectionScan
- text
Associated command-specific helpers SHOULD take a read preference argument and otherwise MUST use the default read preference from client, database or collection configuration.
C Driver status:
- group - no helper function
- mapreduce - no helper function
- aggregate - up to spec, uses collection's read pref
- collStats, dbStats - we only have collStats, needs to be updated
- count, distinct - we only have count, needs to be updated
- geoNear, geoSearch, geoWalk - no helper functions
- parallelCollectionScan - no helper
- text - no helper
- is related to
-
CDRIVER-1205 mongoc_collection_count_with_opts ignores flags and read_prefs
- Closed
- related to
-
CDRIVER-807 Remove secondary-ok commands whitelist
- Closed