[CSHARP-1603] Aggregate command runs on primary regardless of the ReadPreference Created: 15/Mar/16  Updated: 21/Mar/17  Resolved: 21/Mar/17

Status: Closed
Project: C# Driver
Component/s: Operations
Affects Version/s: 1.11
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Yury Grinevich Assignee: Robert Stam
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It seems that when RunAggregateCommand method in MongoCollection class starts using RequestStart object as using (var request = _server.RequestStart(null)) aggregate requests runs on Primary server.

Any chance to fix it in 1.11 patch?



 Comments   
Comment by Robert Stam [ 21/Mar/17 ]

This only applies to 1.x and not to 2.x.

1.x is no longer under active development.

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