[CSHARP-956] Aggregate command can not be sent to a secondary if it uses $out Created: 20/Apr/14 Updated: 30/Oct/18 Resolved: 23/Apr/14 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Operations |
| Affects Version/s: | 1.9 |
| Fix Version/s: | 1.9.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 23/Apr/14 ] |
|
Author: {u'name': u'rstam', u'email': u'robert@10gen.com'}Message: |
| Comment by Githook User [ 23/Apr/14 ] |
|
Author: {u'name': u'rstam', u'email': u'robert@10gen.com'}Message: |