<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:36:30 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-327] Issue with maximum document size limited by driver.</title>
                <link>https://jira.mongodb.org/browse/CSHARP-327</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I use &quot;samus / mongodb-csharp&quot; 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. &lt;br/&gt;
This is an easy fix, please fix it ASAP - need it a lot.&lt;/p&gt;</description>
                <environment>Windows</environment>
        <key id="22467">CSHARP-327</key>
            <summary>Issue with maximum document size limited by driver.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="lennymongo">Lenny Granovsky</reporter>
                        <labels>
                            <label>document</label>
                            <label>limit</label>
                            <label>size</label>
                    </labels>
                <created>Fri, 16 Sep 2011 22:57:53 +0000</created>
                <updated>Wed, 19 Oct 2016 14:16:09 +0000</updated>
                            <resolved>Sat, 17 Sep 2011 01:35:40 +0000</resolved>
                                    <version>0.9</version>
                                                    <component>SAMUS</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="59393" author="lennymongo" created="Mon, 10 Oct 2011 03:50:29 +0000"  >&lt;p&gt;&#160;&lt;br/&gt;
Thank you very much. It has solved the issue. I keep the v1.2,&#160;removed Connect/Disconnect and&#160;it just works. &lt;br/&gt;
&#160;&lt;br/&gt;
I appreciate very quick response...&lt;br/&gt;
&#160;&lt;br/&gt;
Best regards,&lt;br/&gt;
&#160;&lt;br/&gt;
Lenny&lt;/p&gt;

</comment>
                            <comment id="59384" author="rstam" created="Mon, 10 Oct 2011 02:19:53 +0000"  >&lt;p&gt;If you are calling Disconnect you are probably running into this issue that exists in the 1.2 C# driver:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-333&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CSHARP-333&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;I recommend one of the following options:&lt;/p&gt;

&lt;p&gt;1. Don&apos;t call Disconnect (there is rarely a good reason to call this method)&lt;br/&gt;
2. Wait for the 1.3 driver&lt;br/&gt;
3. Get the latest source code from github and build the driver yourself&lt;br/&gt;
4. Use the 1.1 driver (last resort)&lt;/p&gt;

&lt;p&gt;Your easiest alternative is to just not call Disconnect.&lt;/p&gt;</comment>
                            <comment id="59383" author="lennymongo" created="Mon, 10 Oct 2011 01:54:29 +0000"  >&lt;p&gt;Hi Robert,&lt;/p&gt;

&lt;p&gt;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.&#160;I would really appreciate if you can help me. My issue is very similar to this: &lt;a href=&quot;http://stackoverflow.com/questions/7446528/mongodb-c-driver-doesnt-release-connections-then-errors&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/questions/7446528/mongodb-c-driver-doesnt-release-connections-then-errors&lt;/a&gt;&lt;br/&gt;
The only difference is that I finally came down to using single thread, but constant heavy load (~700 calls/sec). After 100 requests it comes back with &quot;Timeout waiting for MongoConnection&quot;. The result is the same using 32 bit and 64 bit systems.&lt;br/&gt;
I do see that connections getting released after a while, but it takes few seconds instead of right after&#160;I call &quot;mongoserver.Disconnect()&quot; method. I do use mongoserver.Create(connectionString) as recommended. Do you have any suggestions for me?&lt;br/&gt;
&#160;&lt;br/&gt;
Thank you,&lt;br/&gt;
&#160;&lt;br/&gt;
Lenny&lt;/p&gt;

</comment>
                            <comment id="54906" author="rstam" created="Sat, 17 Sep 2011 02:38:39 +0000"  >&lt;p&gt;Hmmm... must be an obsolete link. We are about to begin work on LINQ, but at this point I can&apos;t really offer an accurate ETA.&lt;/p&gt;</comment>
                            <comment id="54904" author="lennymongo" created="Sat, 17 Sep 2011 02:28:23 +0000"  >&lt;p&gt;Hi Robert,&lt;br/&gt;
&#160;&lt;br/&gt;
They have link to submit issues via your web-site. This is the reason I did so. I need to have the&#160;LINQ - that was the reason I went with samus driver. I know you have long plans to add support for LINQ - do you have a realistic estimate on when it can happen?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Lenny&lt;/p&gt;

&lt;p&gt;From: Robert Stam (JIRA) &amp;lt;jira@mongodb.org&amp;gt;&lt;/p&gt;</comment>
                            <comment id="54900" author="rstam" created="Sat, 17 Sep 2011 01:35:40 +0000"  >&lt;p&gt;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.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrh8dj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14156</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>