<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:36:33 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-344] Timeout waiting for a MongoConnection.</title>
                <link>https://jira.mongodb.org/browse/CSHARP-344</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Timeout waiting for a MongoConnection.&lt;/p&gt;

&lt;p&gt;at MongoDB.Driver.Internal.MongoConnectionPool.AcquireConnection(MongoDatabase database)&lt;br/&gt;
at MongoDB.Driver.MongoServerInstance.AcquireConnection(MongoDatabase database)&lt;br/&gt;
at MongoDB.Driver.MongoServer.AcquireConnection(MongoDatabase database, Boolean slaveOk)&lt;br/&gt;
at MongoDB.Driver.MongoCursorEnumerator`1.AcquireConnection()&lt;br/&gt;
at MongoDB.Driver.MongoCursorEnumerator`1.GetFirst()&lt;br/&gt;
at MongoDB.Driver.MongoCursorEnumerator`1.MoveNext()&lt;/p&gt;</description>
                <environment></environment>
        <key id="23804">CSHARP-344</key>
            <summary>Timeout waiting for a MongoConnection.</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="9">Done</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="ymind">ymind chan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Oct 2011 10:19:27 +0000</created>
                <updated>Thu, 2 Apr 2015 18:27:36 +0000</updated>
                            <resolved>Mon, 5 Mar 2012 21:37:29 +0000</resolved>
                                    <version>1.2</version>
                                    <fixVersion>1.4</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="95532" author="rstam" created="Mon, 5 Mar 2012 21:37:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-406&quot; title=&quot;Deadlock and TimeoutException when acquiring connection.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-406&quot;&gt;&lt;del&gt;CSHARP-406&lt;/del&gt;&lt;/a&gt; fixes the most likely cause for seeing this exception. Note that under heavy loads you might still see this exception.&lt;/p&gt;</comment>
                            <comment id="89968" author="rstam" created="Mon, 20 Feb 2012 01:32:11 +0000"  >&lt;p&gt;As far as I know this was an issue with 1.2 only.&lt;/p&gt;

&lt;p&gt;If anyone is seeing this issue with 1.3.1 AND it can&apos;t be explained by high load levels or eliminated by increasing the size of the connection pool let us know. Otherwise we plan to close this ticket.&lt;/p&gt;</comment>
                            <comment id="75382" author="flavien" created="Thu, 22 Dec 2011 09:57:19 +0000"  >&lt;p&gt;I experienced the same issue in production. I have 2 frontend servers. They both work fine, and after a while, on one server, all the attempts to query MongoDB fails with that exception. The MongoDB server I use is running on MongoLab.com, but this is not an issue with them as one of the frontend server works perfectly fine (no latency). The other one continuously throws that exception until I restart the website. Also note that this never happened in a few months of production, and now happened twice in the last 2 days.&lt;/p&gt;

&lt;p&gt;I never call Disconnect, and I cache the instances of MongoServer, MongoDatabase and MongoCollections (they are used across all requests).&lt;/p&gt;</comment>
                            <comment id="61389" author="rstam" created="Wed, 19 Oct 2011 14:23:06 +0000"  >&lt;p&gt;Also, there is a bug in the 1.2 C# driver that can cause this exception if you call Disconnect.&lt;/p&gt;

&lt;p&gt;Can you check whether you are calling Disconnect (or Reconnect) anywhere? If so, just remove the call to Disconnect. There is rarely a need to call Disconnect.&lt;/p&gt;</comment>
                            <comment id="61380" author="rstam" created="Wed, 19 Oct 2011 13:08:03 +0000"  >&lt;p&gt;This could just be the result of the server being slow to respond to queries. Have you examined the server logs to see if there are any queries that are slow? If so, perhaps you need an index.&lt;/p&gt;

&lt;p&gt;Can you provide any information on how to reproduce this?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="32116">CSHARP-406</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major 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|hrh89z:</customfieldvalue>

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