[CSHARP-2496] Drivers should ignore batchSize=0 for aggregate with $out Created: 30/Jan/19  Updated: 27/Oct/23  Resolved: 11/Feb/19

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

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Robert Stam
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-587 Drivers should ignore batchSize=0 for... Closed

 Description   

See DRIVERS-587 for details.



 Comments   
Comment by Robert Stam [ 11/Feb/19 ]

The C# driver uses a separate class for aggregate operations when the pipeline ends in $out, and this class does NOT set the batch size, so the C# driver is already compliant with this spec change.

See:

https://github.com/mongodb/mongo-csharp-driver/blob/v2.7.x/src/MongoDB.Driver.Core/Core/Operations/AggregateToCollectionOperation.cs#L211

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