<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:21 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-617] Latest JRE6 update causing server connection issues with driver versions 1.6.0.4624 and 1.6.0.4678</title>
                <link>https://jira.mongodb.org/browse/CSHARP-617</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;After installing the latest mini-update to Java 6 this morning (around 10am GMT, 29th Oct), successive mongo queries through the C# driver use an auto-incremented port number, similar to when opening the mongo shell multiple times through the command line. This caused queries to time out on a machine running an Intel Core 2 Duo T7700 @ 2.40 GHz with 4GB RAM. Two other more powerful machines were able to run our system without timeouts, despite replicating the port increment issue.&lt;/p&gt;

&lt;p&gt;This issue was replicated with drivers 1.6.0.4624 and later 1.6.4678, but only after installing the mentioned Java update. Up until last week we had been using driver version 1.3.1.4349, to which we have been forced to roll back, pending a resolution to this issue. Because we have been forced to roll our driver back, some of our code which used Query.In had to be reverted.&lt;/p&gt;

&lt;p&gt;The attached screenshot was created by running a service with a timer event which queries our database once every ten seconds.&lt;/p&gt;
</description>
                <environment>Win 7 x64 (replicated on three different machines, using MongoDB server versions 2.0.2, 2.0.6, and 2.0.6 2008+)</environment>
        <key id="54636">CSHARP-617</key>
            <summary>Latest JRE6 update causing server connection issues with driver versions 1.6.0.4624 and 1.6.0.4678</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="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="foenix101">Jason Wedepohl</reporter>
                        <labels>
                            <label>connections</label>
                            <label>java</label>
                    </labels>
                <created>Mon, 29 Oct 2012 09:48:34 +0000</created>
                <updated>Wed, 14 May 2014 19:04:52 +0000</updated>
                            <resolved>Thu, 16 May 2013 16:31:15 +0000</resolved>
                                    <version>1.6.1</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="180555" author="foenix101" created="Tue, 30 Oct 2012 15:19:40 +0000"  >&lt;p&gt;Sorry, I&apos;m kind of snowed under at the moment so 1), 2) and 4) will have to wait a bit, perhaps a couple of days.&lt;/p&gt;

&lt;p&gt;As for 3): Using 1.3.* and 1.6.&lt;b&gt;, I see incrementing port numbers when a process connects to mongod for the first time. Both driver versions worked fine before updating jre6u37. Using 1.6.&lt;/b&gt; after updating jre6u37, the mongod connections for the process are terminated and recreated again with an incremented port number each time the process makes a query.&lt;/p&gt;</comment>
                            <comment id="180513" author="craiggwilson" created="Tue, 30 Oct 2012 12:49:36 +0000"  >&lt;p&gt;Thanks.  It&apos;s obvious something is going on.  I still need to try and determine if it is intentional or not.  Do you have some sample code you used to check this?  If you could post it here, it&apos;d make replication much easier.&lt;/p&gt;

&lt;p&gt;So, couple more questions/action items.&lt;br/&gt;
1) Do you have some sample code you could post in here we can use to replicate with?&lt;br/&gt;
2) You mentioned you are seeing timeouts.  Could you post the stack trace of one of these?&lt;br/&gt;
3) Do you see incrementing port numbers in 1.3.&lt;b&gt;, or just in 1.6.&lt;/b&gt;?&lt;br/&gt;
4) It&apos;d be great if you could repeat your test without jre6u37 installed.  I&apos;m still very unclear as to what Java has to do with this issue.&lt;/p&gt;

</comment>
                            <comment id="180481" author="foenix101" created="Tue, 30 Oct 2012 09:12:56 +0000"  >&lt;p&gt;Tested two scenarios:&lt;/p&gt;

&lt;p&gt;Box A with latest C# driver (1.6.0.4678), Box B with mongod and latest jre6u37. Replicated the issue, producing output similar to my first posted screenshot.&lt;/p&gt;

&lt;p&gt;Rolled back C# driver to 1.3.1.4349 and ran the same test. Was not able to replicate the issue; mongod output was healthy.&lt;/p&gt;

&lt;p&gt;I hope this is enough for now; I have to carry on with other stuff. If you want me to perform corollary tests let me know.&lt;/p&gt;</comment>
                            <comment id="180064" author="craiggwilson" created="Mon, 29 Oct 2012 14:25:22 +0000"  >&lt;p&gt;Technically, neither mongod nor the .NET driver should be affected by Java.  However, Java could be doing something to the system causing some oddness to creep in.  We need to isolate the problem to either the server boxes or the client boxes as that will start allowing us to narrow down the issue.  It would be tremendous if you could try and do this tomorrow.&lt;/p&gt;</comment>
                            <comment id="180063" author="foenix101" created="Mon, 29 Oct 2012 14:21:04 +0000"  >&lt;p&gt;The whole timeline occurs on our dev boxes, so running mongod and the driver on the same box (we use Visual Studio 2010). I haven&apos;t tried replicating the issue using mongod on a remote machine since we decided to roll back the driver rather than risk having it affect our live builds. If you want me to try this, I can do so tomorrow.&lt;/p&gt;</comment>
                            <comment id="180054" author="craiggwilson" created="Mon, 29 Oct 2012 14:07:33 +0000"  >&lt;p&gt;I&apos;m a little confused.  I&apos;d like to get this timeline down:&lt;/p&gt;

&lt;p&gt;1) Working with .NET driver version 1.3.*&lt;br/&gt;
2) Upgraded to .NET driver version 1.6.*&lt;br/&gt;
3) Updated to Java 6&lt;br/&gt;
4) Not working with .NET driver version 1.6.*&lt;br/&gt;
5) Working with .NET driver version 1.3.*&lt;/p&gt;

&lt;p&gt;Is it the boxes running mongod that you updated Java 6 to, or the boxes running the .NET driver?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="21220" name="Capture.PNG" size="38908" author="foenix101" created="Mon, 29 Oct 2012 09:48:35 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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|hrk9xr:</customfieldvalue>

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