<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:50 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-1160] Either enforce the distinction between Direct and Standalone connection modes or remove Standalone from the enum</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1160</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Our enum for connection mode currently has two similar values:&lt;/p&gt;

&lt;p&gt;1. Direct&lt;br/&gt;
2. Standalone&lt;/p&gt;

&lt;p&gt;The idea was that a Standalone connection would only succeed when the server was in fact a standalone, whereas a Direct connection would succeed no matter what the actual type of the server was.&lt;/p&gt;

&lt;p&gt;This would prevent accidental connections to secondaries or other non-primary servers.&lt;/p&gt;

&lt;p&gt;This distinction is not currently fully implemented. We should either completely implement the distinction or remove Standalone from the connection mode enum.&lt;/p&gt;

&lt;p&gt;If we decide to keep Standalone, a related question is what the default should be when the connection string only has a single server. Should it be Direct or Standalone?&lt;/p&gt;

&lt;p&gt;The argument for Standalone is that this is almost always what the application wants. Directly connecting to a secondary (or arbiter or whatever) is, or should be, a very unusual case.&lt;/p&gt;

&lt;p&gt;The argument for Direct would be that it would be more backward compatible.&lt;/p&gt;</description>
                <environment></environment>
        <key id="177677">CSHARP-1160</key>
            <summary>Either enforce the distinction between Direct and Standalone connection modes or remove Standalone from the enum</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Jan 2015 18:30:43 +0000</created>
                <updated>Thu, 2 Apr 2015 18:06:00 +0000</updated>
                            <resolved>Thu, 15 Jan 2015 04:15:24 +0000</resolved>
                                                    <fixVersion>2.0</fixVersion>
                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="827999" author="xgen-internal-githook" created="Thu, 12 Feb 2015 17:55:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1160&quot; title=&quot;Either enforce the distinction between Direct and Standalone connection modes or remove Standalone from the enum&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1160&quot;&gt;&lt;del&gt;CSHARP-1160&lt;/del&gt;&lt;/a&gt;: Treat Automatic connection mode like Direct for connections to a single host to allow connecting to a one member replica set without having to specify a connection mode on the connection string. If you want the driver to verify that your are connected to a standalone you can specify connect=standalone on the connection string.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/741237076c3dfee17c5429388ae3a8b379c03e11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/741237076c3dfee17c5429388ae3a8b379c03e11&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="805041" author="xgen-internal-githook" created="Thu, 15 Jan 2015 04:14:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1160&quot; title=&quot;Either enforce the distinction between Direct and Standalone connection modes or remove Standalone from the enum&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1160&quot;&gt;&lt;del&gt;CSHARP-1160&lt;/del&gt;&lt;/a&gt;: Enforce the distinction between Standalone and Direct.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/4efda752fdea47acbfdbc58ba88dbd7cfd8e63ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/4efda752fdea47acbfdbc58ba88dbd7cfd8e63ef&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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|hs5abz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>155862</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="377">C# Sprint 14</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>