-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.14.0
-
Component/s: Command Operations
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The DBCollection aggregate method overloads that take AggregationOptions fail to set slaveOk bit when read preference demands it. When connected to a replica set, this will result in a CommandFailureException with the error message "not master".