[CSHARP-336] Add support for sending commands to secondaries when slaveOk is true Created: 06/Oct/11  Updated: 20/Mar/14  Resolved: 20/Jul/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.2
Fix Version/s: 1.6

Type: New Feature Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Duplicate Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CSHARP-335 MongoCollection.Count() method does n... Closed
related to CSHARP-315 Support ReadPreference (deprecate Sla... Closed

 Description   

Currently all commands are sent to the primary. But some commands could be sent to secondaries (e.g. Count). Add support for sending commands to secondaries. Perhaps the driver should even use the listCommands command to determine which command can be sent to secondaries.



 Comments   
Comment by Robert Stam [ 20/Jul/12 ]

Closing this issue since it will be addressed in the implementation of CSHARP-315.

Comment by Robert Stam [ 11/Jun/12 ]

This issue is related to read preference and should probably be implemented at the same time.

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