If mongoc_database_create_collection is called with a database whose read prefs are configured to something besides PRIMARY, the "create" command can be wrongly run on a secondary. This contradicts the Server Selection Spec.
Check for other command helpers with the same bug.
- is related to
-
CDRIVER-807 Remove secondary-ok commands whitelist
- Closed