[CSHARP-327] Issue with maximum document size limited by driver. Created: 16/Sep/11 Updated: 19/Oct/16 Resolved: 17/Sep/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | SAMUS |
| Affects Version/s: | 0.9 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Lenny Granovsky | Assignee: | Robert Stam |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | document, limit, size | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows |
||
| Description |
|
I use "samus / mongodb-csharp" driver and I found it has internal limit of 4Mb for document size despite new versions of DB support up to 16Mb. This needs to either fixed with different limit or allow external configuration for people who use older versions of DB. |
| Comments |
| Comment by Lenny Granovsky [ 10/Oct/11 ] |
|
|
| Comment by Robert Stam [ 10/Oct/11 ] |
|
If you are calling Disconnect you are probably running into this issue that exists in the 1.2 C# driver: https://jira.mongodb.org/browse/CSHARP-333 There is a bug in Disconnect that causes the connection pool size to get out of sync which eventually results in the exception you are getting. I recommend one of the following options: 1. Don't call Disconnect (there is rarely a good reason to call this method) Your easiest alternative is to just not call Disconnect. |
| Comment by Lenny Granovsky [ 10/Oct/11 ] |
|
Hi Robert, I went the recommended route and took your driver instead (v1.2). But unfortunately I ran into another issue. Spent few days, but could not resolve it. I would really appreciate if you can help me. My issue is very similar to this: http://stackoverflow.com/questions/7446528/mongodb-c-driver-doesnt-release-connections-then-errors |
| Comment by Robert Stam [ 17/Sep/11 ] |
|
Hmmm... must be an obsolete link. We are about to begin work on LINQ, but at this point I can't really offer an accurate ETA. |
| Comment by Lenny Granovsky [ 17/Sep/11 ] |
|
Hi Robert, Best regards, Lenny From: Robert Stam (JIRA) <jira@mongodb.org> |
| Comment by Robert Stam [ 17/Sep/11 ] |
|
This JIRA project is for the official C# driver from 10gen (although it was used for the samus driver a long time ago). You might be able to get some help with the samus driver by posting on mongodb-csharp Google group. Or you could switch to the official C# driver. |