Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1603

Aggregate command runs on primary regardless of the ReadPreference

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.11
    • Component/s: Operations
    • None

      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?

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            yury Yury Grinevich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: