[SERVER-38940] Batch update fails with BSON error Created: 10/Jan/19 Updated: 16/Nov/21 Resolved: 16/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | lukas strassel | Assignee: | Danny Hatcher (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Not sure how to create a proper reproduction as I only face the issue at one very specific collection. I think it might be similar to https://jira.mongodb.org/browse/SERVER-32372 though. |
||||||||
| Participants: | |||||||||
| Description |
|
When executing a batch update for one of our collections(5806 docs) we suddenly get a:
using the node native driver at 3.1.10 on latest mongo 4.0 series @atlas
While I managed to work around this issue by using manually decreasing the batch size via
as i get the docs this should be handled internally. |
| Comments |
| Comment by Danny Hatcher (Inactive) [ 16/Jan/19 ] |
|
Hello Lukas, I'm glad to hear it! Danny |
| Comment by lukas strassel [ 16/Jan/19 ] |
|
Hello Daniel, sorry for the late response - I just tried with the 3.1.11 driver and the issue seems to be resolved! :+1: Thanks for your work, |
| Comment by Danny Hatcher (Inactive) [ 11/Jan/19 ] |
|
Hello Lukas, You may be experiencing Thank you, Danny |