<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:40 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-1105] C# driver hangs indefinitely on one of the environments where the Mongo service is down.</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1105</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I&apos;m trying to get the list of collection names from the Mongo database, but if I do this on a machine where the Mongo service is down I have to wait almost indefinitely. The problem doesn&apos;t appear on other systems however. I tried to set ConnectionTimeout and SocketTimeout, but it doesn&apos;t help. Also I noticed from the stack trace and code, that the connection is opened with TcpClient.Connect(), which is synchronous and doesn&apos;t have any timeout settings (except SendTimeout and ReceiveTimeout that do not have any impact on the connection itself). Here is the piece of code where this happens:&lt;/p&gt;

&lt;p&gt;MongoConnection.Open():&lt;br/&gt;
tcpClient.NoDelay = true; // turn off Nagle&lt;br/&gt;
tcpClient.ReceiveBufferSize = MongoDefaults.TcpReceiveBufferSize;&lt;br/&gt;
tcpClient.SendBufferSize = MongoDefaults.TcpSendBufferSize;&lt;br/&gt;
tcpClient.Connect(ipEndPoint);&lt;/p&gt;

&lt;p&gt;I wonder if it is possible to run it asynchronously and wait the timeout that we pass in server connection settings.&lt;/p&gt;</description>
                <environment>Windows 2008 Enterprise Edition, x64, SP1</environment>
        <key id="169694">CSHARP-1105</key>
            <summary>C# driver hangs indefinitely on one of the environments where the Mongo service is down.</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="-1">Unassigned</assignee>
                                    <reporter username="surikov.pavel@gmail.com">Pavel Surikov</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Nov 2014 16:59:15 +0000</created>
                <updated>Wed, 8 Feb 2023 15:36:23 +0000</updated>
                            <resolved>Sat, 28 Oct 2017 03:28:37 +0000</resolved>
                                    <version>1.9.2</version>
                                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1711851" author="jeff.yemin" created="Sat, 28 Oct 2017 03:28:37 +0000"  >&lt;p&gt;The 1.x branch is no longer under active development.&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|hrax5j:</customfieldvalue>

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