[CSHARP-2207] Large bulk writes not always splitting correctly Created: 06/Mar/18 Updated: 28/Oct/23 Resolved: 14/Mar/18 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Write Operations |
| Affects Version/s: | 2.5 |
| Fix Version/s: | 2.5.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ivan Fioravanti | Assignee: | Robert Stam |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MongoDB 3.6.3 |
||
| Issue Links: |
|
||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||
| Description |
|
From: https://docs.mongodb.com/manual/reference/limits/
We are using MongoDB C# driver 2.5. This change is causing a lot of issues like:
We had to change code on our side to split manually InserMany operation in multiple batch and same for bulk operations, but we can't be sure that size will not be over 16MB. I think this should be handled by Driver and moreover it should be possible to change this limit on server settings side in order to let customer being able to tune it accordingly to specific usage. |
| Comments |
| Comment by Robert Stam [ 29/Mar/18 ] | ||||||||||||
|
Very soon. We are fixing a small number of remaining issues targeted for 2.5.1 and then we will release it. | ||||||||||||
| Comment by Sagar Thakur [ 28/Mar/18 ] | ||||||||||||
|
any idea when 2.5.1 will be out? | ||||||||||||
| Comment by Githook User [ 16/Mar/18 ] | ||||||||||||
|
Author: {'email': 'robert@robertstam.org', 'name': 'rstam', 'username': 'rstam'}Message: | ||||||||||||
| Comment by Githook User [ 14/Mar/18 ] | ||||||||||||
|
Author: {'email': 'robert@robertstam.org', 'name': 'rstam', 'username': 'rstam'}Message: | ||||||||||||
| Comment by Robert Stam [ 07/Mar/18 ] | ||||||||||||
|
I can confirm that this is a C# driver bug, so the ticket was moved from It can be reproduced using:
|