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

Aggregate command can not be sent to a secondary if it uses $out

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.1
    • Affects Version/s: 1.9
    • Component/s: Operations
    • None

      The driver maintains a whitelist of commands that can be sent to a secondary. The aggregate command is currently on this whitelist.

      However, with the addition of support for $out, the aggregate command can only be sent to a secondary if it does not use $out, so it is no longer sufficient to merely list it on the whitelist, the actual pipeline has to be examined to decide if it can be sent to a secondary or not.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: