<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:45:33 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-7154] compass mongosh console output is on multiple lines vs mongosh in terminal.</title>
                <link>https://jira.mongodb.org/browse/COMPASS-7154</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;// long running query &lt;br/&gt;
for (i=1; i&amp;lt;=5; i++) {&lt;br/&gt;
   start = new Date().getTime();&lt;br/&gt;
   docs = db.customersIndexed.find({&lt;br/&gt;
   //docs = db.customers.find({  &lt;br/&gt;
	&apos;address.state&apos;: &apos;UT&apos;, &apos;gender&apos;: &apos;Female&apos;, &lt;br/&gt;
	&apos;dob&apos;: &lt;/p&gt;
{ &apos;$gte&apos;: ISODate(&apos;1990-01-01&apos;), &apos;$lte&apos; : ISODate(&apos;1990-12-31&apos;)}
&lt;p&gt;,&lt;br/&gt;
     	&apos;policies&apos;: { $elemMatch: {&apos;policyType&apos;: &apos;life&apos;, &apos;insured_person.smoking&apos;: true }} });&lt;br/&gt;
   n = docs.count();&lt;br/&gt;
   //list = docs.toArray();&lt;br/&gt;
   print( &quot;matched: &quot;, n, &quot;time (ms): &quot;, ((new Date().getTime())-start) );&lt;br/&gt;
}&lt;br/&gt;
matched: &lt;br/&gt;
57&lt;br/&gt;
time (ms): &lt;br/&gt;
104&lt;br/&gt;
matched: &lt;br/&gt;
57&lt;br/&gt;
time (ms): &lt;br/&gt;
122&lt;br/&gt;
matched: &lt;br/&gt;
57&lt;br/&gt;
time (ms): &lt;br/&gt;
54&lt;br/&gt;
matched: &lt;br/&gt;
57&lt;br/&gt;
time (ms): &lt;br/&gt;
56&lt;br/&gt;
matched: &lt;br/&gt;
57&lt;br/&gt;
time (ms): &lt;/p&gt;


&lt;p&gt;-----VERSUS&lt;br/&gt;
Atlas atlas-r3h8gs-shard-0 &lt;span class=&quot;error&quot;&gt;&amp;#91;primary&amp;#93;&lt;/span&gt; RICH-QUERY&amp;gt; for (i=1; i&amp;lt;=5; i++) {&lt;br/&gt;
...    start = new Date().getTime();&lt;br/&gt;
...    docs = db.customersIndexed.find({&lt;br/&gt;
...    //docs = db.customers.find({  &lt;br/&gt;
... 	&apos;address.state&apos;: &apos;UT&apos;, &apos;gender&apos;: &apos;Female&apos;, &lt;br/&gt;
... 	&apos;dob&apos;: &lt;/p&gt;
{ &apos;$gte&apos;: ISODate(&apos;1990-01-01&apos;), &apos;$lte&apos; : ISODate(&apos;1990-12-31&apos;)}
&lt;p&gt;,&lt;br/&gt;
...      	&apos;policies&apos;: { $elemMatch: {&apos;policyType&apos;: &apos;life&apos;, &apos;insured_person.smoking&apos;: true }} });&lt;br/&gt;
...    n = docs.count();&lt;br/&gt;
...    //list = docs.toArray();&lt;br/&gt;
...    print( &quot;matched: &quot;, n, &quot;time (ms): &quot;, ((new Date().getTime())-start) );&lt;br/&gt;
... }&lt;br/&gt;
(node:10829) &lt;span class=&quot;error&quot;&gt;&amp;#91;MONGODB DRIVER&amp;#93;&lt;/span&gt; Warning: cursor.count is deprecated and will be removed in the next major version, please use `collection.estimatedDocumentCount` or `collection.countDocuments` instead &lt;br/&gt;
(Use `node --trace-warnings ...` to show where the warning was created)&lt;/p&gt;

&lt;p&gt;matched:  57 time (ms):  242&lt;br/&gt;
matched:  57 time (ms):  33&lt;br/&gt;
matched:  57 time (ms):  236&lt;br/&gt;
matched:  57 time (ms):  33&lt;br/&gt;
matched:  57 time (ms):  33&lt;/p&gt;



</description>
                <environment>running a javascript with print will write to multi-lines instead of each print on 1 line</environment>
        <key id="2429052">COMPASS-7154</key>
            <summary>compass mongosh console output is on multiple lines vs mongosh in terminal.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="thomas.luckenbach@mongodb.com">Thomas Luckenbach</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Aug 2023 15:24:00 +0000</created>
                <updated>Tue, 29 Aug 2023 16:23:57 +0000</updated>
                            <resolved>Tue, 29 Aug 2023 16:23:57 +0000</resolved>
                                    <version>1.39.3</version>
                                    <fixVersion>No version</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5666341" author="rhys.howell" created="Tue, 29 Aug 2023 16:23:57 +0000"  >&lt;p&gt;Thanks for opening, tracking in &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6378&quot; title=&quot;Embedded mongosh output is spread onto multiple lines&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6378&quot;&gt;COMPASS-6378&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2212396">COMPASS-6378</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 29 Aug 2023 16:23:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        23 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>rhys.howell@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            23 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>rhys.howell@mongodb.com</customfieldvalue>
            <customfieldvalue>thomas.luckenbach@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2oadr:</customfieldvalue>

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

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