<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:40:57 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-1888] ServerMonitor should use HeartbeatTimeout for socket read/write timeouts</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1888</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Currently it seems that ServerSettings&apos; HeartbeatTimeout is not used since ServerMonitor (HeartbeatAsync) uses IConnection.OpenAsync that uses MongoClientSettings.ConnectionTimeout. I wonder if this is an oversight or a future improvement area?&lt;/p&gt;</description>
                <environment></environment>
        <key id="343603">CSHARP-1888</key>
            <summary>ServerMonitor should use HeartbeatTimeout for socket read/write timeouts</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="onyxmaster">Aristarkh Zagorodnikov</reporter>
                        <labels>
                    </labels>
                <created>Sun, 8 Jan 2017 17:18:34 +0000</created>
                <updated>Thu, 8 Nov 2018 14:54:31 +0000</updated>
                            <resolved>Mon, 5 Nov 2018 18:35:28 +0000</resolved>
                                                    <fixVersion>2.7.1</fixVersion>
                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2054107" author="xgen-internal-githook" created="Wed, 7 Nov 2018 01:09:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1888&quot; title=&quot;ServerMonitor should use HeartbeatTimeout for socket read/write timeouts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1888&quot;&gt;&lt;del&gt;CSHARP-1888&lt;/del&gt;&lt;/a&gt;: Fix test that was dependent on a different ticket that was not backported.&lt;br/&gt;
Branch: v2.7.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/872087af873a3d2cf40661f5fb9a8dbeff755e0f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/872087af873a3d2cf40661f5fb9a8dbeff755e0f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2054074" author="xgen-internal-githook" created="Wed, 7 Nov 2018 00:18:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1888&quot; title=&quot;ServerMonitor should use HeartbeatTimeout for socket read/write timeouts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1888&quot;&gt;&lt;del&gt;CSHARP-1888&lt;/del&gt;&lt;/a&gt;: Back out part of a change that got inadvertently backported during cherry picking.&lt;br/&gt;
Branch: v2.7.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/837ca586da9a874850ae641b3fe3bc1253e6b14d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/837ca586da9a874850ae641b3fe3bc1253e6b14d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2053741" author="xgen-internal-githook" created="Tue, 6 Nov 2018 20:28:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1888&quot; title=&quot;ServerMonitor should use HeartbeatTimeout for socket read/write timeouts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1888&quot;&gt;&lt;del&gt;CSHARP-1888&lt;/del&gt;&lt;/a&gt;: ServerMonitor should use HeartbeatTimeout for socket read/write timeouts.&lt;br/&gt;
Branch: v2.7.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/b1560c5ea2af634847720bd9e372dc3c60b0e12b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/b1560c5ea2af634847720bd9e372dc3c60b0e12b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2052172" author="xgen-internal-githook" created="Mon, 5 Nov 2018 18:34:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1888&quot; title=&quot;ServerMonitor should use HeartbeatTimeout for socket read/write timeouts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1888&quot;&gt;&lt;del&gt;CSHARP-1888&lt;/del&gt;&lt;/a&gt;: ServerMonitor should use HeartbeatTimeout for socket read/write timeouts.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/e156d3fcd1f671da996ceee9b9ea74dd660966d5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/e156d3fcd1f671da996ceee9b9ea74dd660966d5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1475053" author="onyxmaster" created="Wed, 11 Jan 2017 21:46:30 +0000"  >&lt;p&gt;I believe that MongoClientSettings.ConnectionTimeout is used instead.&lt;/p&gt;</comment>
                            <comment id="1474975" author="rstam" created="Wed, 11 Jan 2017 20:50:34 +0000"  >&lt;p&gt;The idea is that there are two separate timeouts, one for establishing the connection and another for the heartbeat.&lt;/p&gt;

&lt;p&gt;However, as you pointed out ServerMonitor is not currently using the timeout when calling isMaster, so that needs to be addressed.&lt;/p&gt;

&lt;p&gt;I don&apos;t think it means there is NO timeout, because there is also the ReadTimeout in TcpStreamSettings.&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|hstirr:</customfieldvalue>

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