[CDRIVER-2705] mongoc_collection_aggregate ignores collection read preference Created: 17/Jun/18  Updated: 28/Oct/23  Resolved: 17/Jul/18

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: 1.12.0

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Only the explicitly passed-in read preference affects server selection.



 Comments   
Comment by Githook User [ 17/Jul/18 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2705 aggregate inherits coll read pref, 2

Distinguish user-supplied read prefs from inherited read prefs, and omit
inherited read prefs when aggregating in a transaction.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/3ffe7ab2bac1e1fefd179087e3c78a5a8fd7935a

Comment by Githook User [ 17/Jul/18 ]

Author:

{'username': 'ajdavis', 'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com'}

Message: CDRIVER-2705 aggregate inherits coll read prefs
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/15d6a430dfdf47dff91e8057ef38d37ac6d41587

Generated at Wed Feb 07 21:16:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.