<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:37: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>[COMPASS-4830] Compass opening extra connections that remain opened (Node Worker Runtime is not closed properly)</title>
                <link>https://jira.mongodb.org/browse/COMPASS-4830</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemDescription&quot;&gt;&lt;/a&gt;Problem Description&lt;/h3&gt;

&lt;p&gt;I am trying to run MongoDB Compass on my mac to have a better visualization of my local database.&#160;&lt;/p&gt;

&lt;p&gt;No problem of connections, but Compass generates extra polluting connections that still remain after closing it.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ExpectedResults&quot;&gt;&lt;/a&gt;Expected Results&lt;/h3&gt;

&lt;p&gt;Using one mongo shell and one MongoDB Compass GUI, i am expecting to get &quot;current: 2&quot; when i run : db.serverStatus().connections&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;Actual Results&lt;/h3&gt;

&lt;p&gt;I have added a screenshots of the issue for a better understanding.&lt;/p&gt;

&lt;p&gt;For the moment i have to manually close all the MongoDB Compass Helper (Renderer) jobs from the Activity Monitor.Additional Notes&lt;/p&gt;</description>
                <environment>macOS Catalina v 10.15.7</environment>
        <key id="1716975">COMPASS-4830</key>
            <summary>Compass opening extra connections that remain opened (Node Worker Runtime is not closed properly)</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="sergey.petushkov@mongodb.com">Sergey Petushkov</assignee>
                                    <reporter username="jeromel.cuny@gmail.com">Jerome Cuny</reporter>
                        <labels>
                    </labels>
                <created>Sat, 15 May 2021 11:10:16 +0000</created>
                <updated>Sun, 29 Oct 2023 02:39:50 +0000</updated>
                            <resolved>Thu, 10 Jun 2021 12:27:34 +0000</resolved>
                                    <version>1.26.1</version>
                                    <fixVersion>1.27</fixVersion>
                                    <component>Compass</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3878073" author="xgen-internal-githook" created="Tue, 15 Jun 2021 11:46:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergey&apos;, &apos;email&apos;: &apos;petushkov.sergey@gmail.com&apos;, &apos;username&apos;: &apos;gribnoysup&apos;}
&lt;p&gt;Message: feat(@mongodb-js/compass-home, mongodb-compass): Replaces compass-*-ddl plugins, with compass-databases-collections &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4830&quot; title=&quot;Compass opening extra connections that remain opened (Node Worker Runtime is not closed properly)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4830&quot;&gt;&lt;del&gt;COMPASS-4830&lt;/del&gt;&lt;/a&gt; (#2240)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;feat(@mongodb-js/compass-home, mongodb-compass): Replaces compass-
{databases,collections}
&lt;p&gt;-ddl plugins, with compass-databases-collections&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-Authored-By: Anemy &amp;lt;rhysh@live.com&amp;gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;fix(@mongodb-js/compass-databases-collections): Render false as a stringified value in Select box so that it can be selected in UI&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix(@mongodb-js/compass-databases-collections): Move expireAfterSeconds to the root level of collection fields&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;While at it, refactor form values to options transformation so that `buildOptions`&lt;br/&gt;
are the only place where field values are normalized&lt;/p&gt;

&lt;p&gt;Co-authored-by: Anemy &amp;lt;rhysh@live.com&amp;gt;&lt;br/&gt;
Branch: npm-workspaces&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/84fd129c7acec37677d1330327e99b7e2bb24aaa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/84fd129c7acec37677d1330327e99b7e2bb24aaa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3875278" author="xgen-internal-githook" created="Mon, 14 Jun 2021 09:43:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergey&apos;, &apos;email&apos;: &apos;petushkov.sergey@gmail.com&apos;, &apos;username&apos;: &apos;gribnoysup&apos;}
&lt;p&gt;Message: feat(@mongodb-js/compass-home, mongodb-compass): Replaces compass-*-ddl plugins, with compass-databases-collections &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4830&quot; title=&quot;Compass opening extra connections that remain opened (Node Worker Runtime is not closed properly)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4830&quot;&gt;&lt;del&gt;COMPASS-4830&lt;/del&gt;&lt;/a&gt; (#2240)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;feat(@mongodb-js/compass-home, mongodb-compass): Replaces compass-
{databases,collections}
&lt;p&gt;-ddl plugins, with compass-databases-collections&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-Authored-By: Anemy &amp;lt;rhysh@live.com&amp;gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;fix(@mongodb-js/compass-databases-collections): Render false as a stringified value in Select box so that it can be selected in UI&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix(@mongodb-js/compass-databases-collections): Move expireAfterSeconds to the root level of collection fields&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;While at it, refactor form values to options transformation so that `buildOptions`&lt;br/&gt;
are the only place where field values are normalized&lt;/p&gt;

&lt;p&gt;Co-authored-by: Anemy &amp;lt;rhysh@live.com&amp;gt;&lt;br/&gt;
Branch: 1.27-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/84fd129c7acec37677d1330327e99b7e2bb24aaa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/84fd129c7acec37677d1330327e99b7e2bb24aaa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3875124" author="xgen-internal-githook" created="Mon, 14 Jun 2021 07:50:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergey&apos;, &apos;email&apos;: &apos;petushkov.sergey@gmail.com&apos;, &apos;username&apos;: &apos;gribnoysup&apos;}
&lt;p&gt;Message: feat(@mongodb-js/compass-home, mongodb-compass): Replaces compass-*-ddl plugins, with compass-databases-collections &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4830&quot; title=&quot;Compass opening extra connections that remain opened (Node Worker Runtime is not closed properly)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4830&quot;&gt;&lt;del&gt;COMPASS-4830&lt;/del&gt;&lt;/a&gt; (#2240)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;feat(@mongodb-js/compass-home, mongodb-compass): Replaces compass-
{databases,collections}
&lt;p&gt;-ddl plugins, with compass-databases-collections&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-Authored-By: Anemy &amp;lt;rhysh@live.com&amp;gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;fix(@mongodb-js/compass-databases-collections): Render false as a stringified value in Select box so that it can be selected in UI&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix(@mongodb-js/compass-databases-collections): Move expireAfterSeconds to the root level of collection fields&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;While at it, refactor form values to options transformation so that `buildOptions`&lt;br/&gt;
are the only place where field values are normalized&lt;/p&gt;

&lt;p&gt;Co-authored-by: Anemy &amp;lt;rhysh@live.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/84fd129c7acec37677d1330327e99b7e2bb24aaa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/84fd129c7acec37677d1330327e99b7e2bb24aaa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3849803" author="JIRAUSER1257459" created="Mon, 31 May 2021 14:22:46 +0000"  >&lt;p&gt;Great for reporting that issue! We drilled down and could find the following:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;The connections that are leaked seem to come from the embedded shell inside Compass (the increment of stale connections is always 3 which correlates with what mongosh itself uses initially)&lt;/li&gt;
	&lt;li&gt;The leak can easily be reproduced by connecting to a server and disconnecting (the connections is then stale)&lt;/li&gt;
	&lt;li&gt;Investigation shows that the &lt;tt&gt;child-process-proxy.js&lt;/tt&gt; from &lt;tt&gt;node-worker-runtime&lt;/tt&gt; is still running.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;317996_thumb&quot; href=&quot;https://jira.mongodb.org/secure/attachment/317996/317996_screenshot-1.png&quot; title=&quot;screenshot-1.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;317996&quot; file-preview-title=&quot;screenshot-1.png&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/thumbnail/317996/_thumb_317996.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="521438">COMPASS-2720</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1717107">COMPASS-4831</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="315069" name="connection log.png" size="132001" author="jeromel.cuny@gmail.com" created="Sat, 15 May 2021 11:08:17 +0000"/>
                            <attachment id="315068" name="connection number.png" size="111553" author="jeromel.cuny@gmail.com" created="Sat, 15 May 2021 11:08:17 +0000"/>
                            <attachment id="315067" name="running jobs.png" size="143452" author="jeromel.cuny@gmail.com" created="Sat, 15 May 2021 11:08:17 +0000"/>
                            <attachment id="317996" name="screenshot-1.png" size="20427" author="michael.rose@mongodb.com" created="Mon, 31 May 2021 14:22:32 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000vd57tQAA]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 31 May 2021 14:22:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 34 weeks, 1 day 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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>
                            2 years, 34 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jeromel.cuny@gmail.com</customfieldvalue>
            <customfieldvalue>michael.rose@mongodb.com</customfieldvalue>
            <customfieldvalue>sergey.petushkov@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzayxj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr4ew7:</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="5156">Iteration Edinburgh</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</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|hzal6n:</customfieldvalue>

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