<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:16 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-585] Don&apos;t open and close a connection every 10 seconds</title>
                <link>https://jira.mongodb.org/browse/CSHARP-585</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The C# driver opens and closes a connection every 10 seconds to ping the health of the server(s) it is connected to. It does this so that pinging the server is not dependent on a connection being available in the connection pool. The bad thing is that it causes lots of noise in the server logs about connections opening and closing.&lt;/p&gt;

&lt;p&gt;A better solution would be to open a connection and keep reusing it. This would be a dedicated connection for pinging and would never be put in the connection pool.&lt;/p&gt;</description>
                <environment></environment>
        <key id="51965">CSHARP-585</key>
            <summary>Don&apos;t open and close a connection every 10 seconds</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Oct 2012 19:09:05 +0000</created>
                <updated>Thu, 20 Mar 2014 14:35:38 +0000</updated>
                            <resolved>Tue, 1 Jan 2013 17:00:57 +0000</resolved>
                                    <version>1.6</version>
                                    <fixVersion>1.8</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="228516" author="auto" created="Tue, 1 Jan 2013 17:00:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-01-01T16:54:53Z&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;, u&apos;name&apos;: u&apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-585&quot; title=&quot;Don&amp;#39;t open and close a connection every 10 seconds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-585&quot;&gt;&lt;del&gt;CSHARP-585&lt;/del&gt;&lt;/a&gt;: Don&apos;t open and close a connection every 10 seconds for status monitoring. Try to use an existing connection from the pool if possible.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/e6c2150400178172c03e8a702c6197a8703d4dd3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/e6c2150400178172c03e8a702c6197a8703d4dd3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="220439" author="rstam" created="Thu, 20 Dec 2012 16:53:17 +0000"  >&lt;p&gt;A variation on that when the connection pool doesn&apos;t already have a connection sitting there ready for immediate use is to wait a few seconds for one to show up before giving up and creating a new one. We&apos;re only polling for replica set status once every 10 seconds, so it probably makes no difference if that now and then stretches to 11 or 12 seconds.&lt;/p&gt;</comment>
                            <comment id="220430" author="craiggwilson" created="Thu, 20 Dec 2012 16:46:38 +0000"  >&lt;p&gt;Another solution would be to use a connection from the connection pool if one is available and only to open a new connection if one isn&apos;t.  This would keep the number of connections on the server down when one is already opened.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hrj90n:</customfieldvalue>

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