<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:40:27 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-1709] Application gets stuck with no mongo servers connecting until app pool is reset.</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1709</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;a webserver will sometimes get stuck with the following error until the app pool is reset, connectivity to the mongo servers appear fine. what is the problem ? it sounds like the heartbeat stops working.&lt;/p&gt;

&lt;p&gt;w3wp.exe Error: 0 : System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector&lt;/p&gt;
{ AllowedLatencyRange = 00:00:00.0150000 }
&lt;p&gt; }. Client view of cluster state is { ClusterId : &quot;2&quot;, ConnectionMode : &quot;ReplicaSet&quot;, Type : &quot;ReplicaSet&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;&lt;/p&gt;
{ ClusterId : 2, EndPoint : &quot;Unspecified/paspirehdb01:27017&quot; }
&lt;p&gt;&quot;, EndPoint: &quot;Unspecified/paspirehdb01:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot; }, { ServerId: &quot;&lt;/p&gt;
{ ClusterId : 2, EndPoint : &quot;Unspecified/paspirehdb02:27017&quot; }
&lt;p&gt;&quot;, EndPoint: &quot;Unspecified/paspirehdb02:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot; }] }.&lt;br/&gt;
   at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)&lt;br/&gt;
   at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation&lt;span class=&quot;error&quot;&gt;&amp;#91;TResult&amp;#93;&lt;/span&gt;(IWriteOperation`1 operation, CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(IndexKeysDefinition`1 keys, CreateIndexOptions options, CancellationToken cancellationToken)&lt;/p&gt;</description>
                <environment>iis 8, .net 4.5</environment>
        <key id="300780">CSHARP-1709</key>
            <summary>Application gets stuck with no mongo servers connecting until app pool is reset.</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="-1">Unassigned</assignee>
                                    <reporter username="quethrosar">aaron nighelli</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Jul 2016 15:41:35 +0000</created>
                <updated>Mon, 13 Jul 2020 20:57:33 +0000</updated>
                            <resolved>Mon, 13 Jul 2020 20:57:33 +0000</resolved>
                                    <version>2.2.3</version>
                                                    <component>Connectivity</component>
                                        <votes>3</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3283437" author="jeff.yemin" created="Mon, 13 Jul 2020 20:57:33 +0000"  >&lt;p&gt;We can re-open this if anyone finds a reproducer on the current version of the driver.&lt;/p&gt;</comment>
                            <comment id="1325159" author="quethrosar" created="Fri, 15 Jul 2016 13:13:15 +0000"  >&lt;p&gt;all signs point to nothing happening out of the ordinary from the server perspective.&lt;br/&gt;
the farm consists of 5 servers and only this one had this error happen.&lt;br/&gt;
my gut tells me it is something to do with the Timer for the heartbeat. like you I didn&apos;t see the  exception and I dug through the code and the only way you wouldn&apos;t see the exception is if the heartbeatasync never gets called.&lt;/p&gt;</comment>
                            <comment id="1324643" author="craiggwilson" created="Thu, 14 Jul 2016 21:17:37 +0000"  >&lt;p&gt;We&apos;ve seen this type of stuff before, but it&apos;s incredibly difficult to diagnose. What&apos;s missing up there is a heartbeat exception. I&quot;m not sure why it isn&apos;t showing up. You can try enabling &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ty48b824(v=vs.110).aspx&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;network tracing&lt;/a&gt;, particularly System.Net.Sockets to see what;s going on there.&lt;/p&gt;

&lt;p&gt;Was there a network blip at the point it failed? Did a primary failover? Did an election happen?&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|hrax6f:</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>