<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:34:25 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>[COMPASS-3842] Compass connects to wrong cluster for certain db&apos;s when disconnected from one cluster and then connecting to a different cluster with identical db and collection names</title>
                <link>https://jira.mongodb.org/browse/COMPASS-3842</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;If I connect to one cluster (have tries local and atlas) and then disconnect in compass (menu bar &amp;gt;&amp;gt; connect &amp;gt;&amp;gt; disconnect) and then connect to a different cluster, any databases that have the same name and any of the same collections are still connected to the first cluster.&lt;/p&gt;

&lt;p&gt;Here&apos;s an example.&#160; I have an atlas cluster when my production db&apos;s live.&#160; I also have a local mongod running on my localhost, I have some dbs and collections that are named the same on both servers.&#160; Sometimes I pull production data to my localhost to test.&#160; If I connect to my atlas cluster in compass, and then disconnect and connect to my localhost in compass without closing compass, the dbs and collections in my localhost that are named the same as in atlas, will still be connected to atlas and not my localhost.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;So when I think I am connected to my localhost, I am actually connected to my production atlas, but only for the dbs and collections that are named the same.&lt;/p&gt;

&lt;p&gt;See screenshot below, where compass is connected to LocalHost, but DB is pointing to Atlas Cluster.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/228082/228082_Compass%2C+wrong+connection.PNG&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>Windows 10 Professional 64bit, Compass V1.19.3</environment>
        <key id="903731">COMPASS-3842</key>
            <summary>Compass connects to wrong cluster for certain db&apos;s when disconnected from one cluster and then connecting to a different cluster with identical db and collection names</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="13201">Fixed</resolution>
                                        <assignee username="durran.jordan@mongodb.com">Durran Jordan</assignee>
                                    <reporter username="rmolenhouse@kti.cc">Robert Molenhouse</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Aug 2019 14:18:02 +0000</created>
                <updated>Sun, 29 Oct 2023 02:40:45 +0000</updated>
                            <resolved>Wed, 25 Sep 2019 16:37:04 +0000</resolved>
                                    <version>1.19.3</version>
                                    <fixVersion>1.20.0</fixVersion>
                                    <component>Compass</component>
                    <component>Connectivity</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2433114" author="xgen-internal-githook" created="Wed, 25 Sep 2019 16:36:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;username&apos;: &apos;durran&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3842&quot; title=&quot;Compass connects to wrong cluster for certain db&amp;#39;s when disconnected from one cluster and then connecting to a different cluster with identical db and collection names&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3842&quot;&gt;&lt;del&gt;COMPASS-3842&lt;/del&gt;&lt;/a&gt;: Clear collection tabs on disconnect&lt;br/&gt;
Branch: 1.20-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/bb94bcb86f5469e4f52e946ec78a5d664aab510b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/bb94bcb86f5469e4f52e946ec78a5d664aab510b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2433112" author="xgen-internal-githook" created="Wed, 25 Sep 2019 16:36:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;durran&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;name&apos;: &apos;Durran Jordan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3842&quot; title=&quot;Compass connects to wrong cluster for certain db&amp;#39;s when disconnected from one cluster and then connecting to a different cluster with identical db and collection names&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3842&quot;&gt;&lt;del&gt;COMPASS-3842&lt;/del&gt;&lt;/a&gt;: Clear collection tabs on disconnect&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/9ea73cafe534d95c306bbaa8fcd650aeb7e26445&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/9ea73cafe534d95c306bbaa8fcd650aeb7e26445&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2433094" author="xgen-internal-githook" created="Wed, 25 Sep 2019 16:30:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;username&apos;: &apos;durran&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3842&quot; title=&quot;Compass connects to wrong cluster for certain db&amp;#39;s when disconnected from one cluster and then connecting to a different cluster with identical db and collection names&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3842&quot;&gt;&lt;del&gt;COMPASS-3842&lt;/del&gt;&lt;/a&gt;: Clear collection tabs on disconnect&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3842&quot; title=&quot;Compass connects to wrong cluster for certain db&amp;#39;s when disconnected from one cluster and then connecting to a different cluster with identical db and collection names&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3842&quot;&gt;&lt;del&gt;COMPASS-3842&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/5f915a71f4382c4489153d7698afe52cd5a69f42&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/5f915a71f4382c4489153d7698afe52cd5a69f42&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="228082" name="Compass, wrong connection.PNG" size="122139" author="rmolenhouse@kti.cc" created="Thu, 22 Aug 2019 14:16:33 +0000"/>
                            <attachment id="228251" name="this-is-a-fun-one.mov" size="20527273" author="massimiliano.marcon@mongodb.com" created="Fri, 23 Aug 2019 15:17:46 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 23 Aug 2019 15:21:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 20 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 20 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>durran.jordan@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rmolenhouse@kti.cc</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvmb5r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6cgv:</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>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3250">Iteration Manatee</customfieldvalue>
    <customfieldvalue id="3309">Iteration Newt</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvlxf3:</customfieldvalue>

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