<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41:35 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-2087] InsertOne method stop working after one node of ReplicaSet goes down...!</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2087</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hello,&lt;br/&gt;
First of all, I want to say sorry for my bad English.&lt;br/&gt;
I just set up a replica set containing three nodes and I wrote a code to test the downtime when one node gets down.&lt;br/&gt;
The console app starts running and suddenly I turned off the VPS that contains the primary node, after a while, another primary elected and compass connects again and starts working but my code stops working...! When I pause the visual studio it lights on the insert line. Actually, I think it hangs on insert line.&lt;br/&gt;
Should I do something to my code that it won&apos;t stop working after the primary goes down...!?&lt;br/&gt;
Here I attached my code.&lt;/p&gt;</description>
                <environment>Windows 10</environment>
        <key id="453835">CSHARP-2087</key>
            <summary>InsertOne method stop working after one node of ReplicaSet goes down...!</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="wan.bachtiar@mongodb.com">Wan Bachtiar</assignee>
                                    <reporter username="mrdaghestani">MohammadReza Daghestani</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Wed, 1 Nov 2017 17:58:38 +0000</created>
                <updated>Fri, 14 Jun 2019 06:18:25 +0000</updated>
                            <resolved>Wed, 6 Feb 2019 16:25:59 +0000</resolved>
                                    <version>2.4.4</version>
                                                    <component>Operations</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2136205" author="wan.bachtiar" created="Mon, 4 Feb 2019 02:54:05 +0000"  >&lt;blockquote&gt;&lt;p&gt;Should I do something to my code that it won&apos;t stop working after the primary goes down&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Hi Mohammad, &lt;/p&gt;

&lt;p&gt;Please see &lt;a href=&quot;https://docs.mongodb.com/manual/core/retryable-writes/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Retryable writes&lt;/a&gt;, which allow drivers to automatically retry certain write operations a single time if they encounter network errors, or if they cannot find a healthy primary in the replica sets or sharded cluster. This feature is available in MongoDB .NET/C# driver v2.5. &lt;/p&gt;

&lt;p&gt;Please note that the CSHARP project is for reporting bugs or feature suggestions for the MongoDB .NET/C# driver. If you have any follow-up questions on the use of the driver, please post a question on &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user&lt;/a&gt; group with relevant the information.&lt;/p&gt;

&lt;p&gt;Regards, &lt;br/&gt;
Wan &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="169952" name="Capture.PNG" size="98799" author="mrdaghestani" created="Wed, 1 Nov 2017 18:05:39 +0000"/>
                            <attachment id="169951" name="Capture.PNG" size="126092" author="mrdaghestani" created="Wed, 1 Nov 2017 17:55:18 +0000"/>
                    </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|htay1b:</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>