<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:49:47 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>[SERVER-38718] mongo shell does not re-check for startup warnings on reconnect</title>
                <link>https://jira.mongodb.org/browse/SERVER-38718</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When the mongo shell first starts up, it displays server startup warnings.  However, if the server has been stopped and re-started &amp;#8212; which might change its startup warnings &amp;#8212; the shell does not inform the user of the server&apos;s startup warnings when it successfully reconnects.  It would be better if it did, so that users/admins are fully informed about the current state of the server before proceeding to perform operations on it.&lt;/p&gt;

&lt;p&gt;The naive approach would just be to fetch and re-display all startup warnings on reconnect.  However, this would re-display the (unchanged) startup warnings if the network connection is lost.   More advanced approaches could include:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Attempting to diff the startup warnings compared to previously, and not re-displaying them if they are identical&lt;/li&gt;
	&lt;li&gt;Attempt to distinguish between network disconnects and server restarts by checking the server&apos;s uptime (eg. from serverStatus), and only re-showing the startup warnings if the server uptime is less than the length of time that the shell&apos;s been disconnected.  This is more complex because the shell doesn&apos;t notice immediately when the connection is lost.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="658629">SERVER-38718</key>
            <summary>mongo shell does not re-check for startup warnings on reconnect</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-stm">Backlog - Server Tooling and Methods (STM)</assignee>
                                    <reporter username="kevin.pulo@mongodb.com">Kevin Pulo</reporter>
                        <labels>
                            <label>move-stm</label>
                    </labels>
                <created>Thu, 20 Dec 2018 06:27:22 +0000</created>
                <updated>Tue, 6 Dec 2022 03:10:03 +0000</updated>
                            <resolved>Thu, 17 Dec 2020 19:25:05 +0000</resolved>
                                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3535011" author="robert.guo" created="Thu, 17 Dec 2020 19:25:06 +0000"  >&lt;p&gt;We will no longer be adding new features to the old mongo shell outside of a small number of exceptions. Please consider switching to the new shell, mongosh for general use cases.&lt;/p&gt;

&lt;p&gt;If this ticket is desired for Server development, please reopen.&lt;/p&gt;</comment>
                            <comment id="2099468" author="kevin.pulo@10gen.com" created="Sun, 23 Dec 2018 23:46:44 +0000"  >&lt;p&gt;Yep, very similar to both of those, although this is a bit more focussed on the UX problems of not displaying user-relevant warnings.&lt;/p&gt;

&lt;p&gt;I would say that all of these are different symptoms of a deeper over-arching &quot;&lt;em&gt;&lt;b&gt;shell reconnect is not equivalent to shell exit/restart&lt;/b&gt;&lt;/em&gt;&quot; problem.  We should probably pick one ticket and reword it accordingly (or file a new one), to make sure that the underlying problem gets solved properly, rather than piecemeal solving of each symptom.&lt;/p&gt;</comment>
                            <comment id="2098527" author="asya" created="Fri, 21 Dec 2018 16:24:58 +0000"  >&lt;p&gt;And maybe &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17374&quot; title=&quot;Shell prompt does not indicate reconnect to mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17374&quot;&gt;SERVER-17374&lt;/a&gt; also?&lt;/p&gt;</comment>
                            <comment id="2098526" author="asya" created="Fri, 21 Dec 2018 16:24:23 +0000"  >&lt;p&gt;This is similar to the shell not noticing different version/binary I filed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12743&quot; title=&quot;shell doesn&amp;#39;t test server version on reconnect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12743&quot;&gt;SERVER-12743&lt;/a&gt; yes? &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="111105">SERVER-12743</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="186119">SERVER-17374</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25142"><![CDATA[Server Tooling & Methods]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 21 Dec 2018 16:24:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 7 weeks, 6 days 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-624</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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 7 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-stm</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
            <customfieldvalue>robert.guo@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huh2e7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu740v:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hugonj:</customfieldvalue>

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