[SERVER-82326] Optimize mongos behavior for singleBatch and batchSize 0 for bulkWrite Created: 19/Oct/23 Updated: 09/Nov/23 Resolved: 09/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sean Zimmerman | Assignee: | Backlog - Replication Team |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | milestone-2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Participants: |
| Description |
|
Similar to how mongod works mongos should avoid using cursor specific data structures until necessary and not store more replies than is necessary (for singleBatch + batchSize:0 we shouldn't store any replies for example) |