<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:42:06 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-6156] Count in Aggregation tab is not updated after a deletion after first calculation</title>
                <link>https://jira.mongodb.org/browse/COMPASS-6156</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemStatement%2FRationale&quot;&gt;&lt;/a&gt;&lt;b&gt;Problem Statement/Rationale&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;What is going wrong? What action would you like the Engineering team to take?&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Please be sure to attach relevant logs &lt;em&gt;with any sensitive data redacted&lt;/em&gt;.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;After running an aggregation pipeline, Count is not accurate after a deletion, even after clicking &quot;Run (aggregation button)&quot; button. Must use &quot;Edit&quot; button&amp;gt;&quot;Run&quot;&amp;gt;&quot;count results&quot; link. (This is also a bit clunky as &quot;count results&quot; link is an additional step).&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;StepstoReproduce&quot;&gt;&lt;/a&gt;&lt;b&gt;Steps to Reproduce&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;How could an engineer replicate the issue you&#8217;re reporting?&lt;/font&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Run aggregate query&lt;/li&gt;
	&lt;li&gt;Get count&lt;/li&gt;
	&lt;li&gt;Delete or add a document in a different tab&lt;/li&gt;
	&lt;li&gt;Click Run from the original tab to re-run the aggregate, the count does not refresh&lt;br/&gt;
To see the updated count&lt;/li&gt;
	&lt;li&gt;Click Edit&lt;/li&gt;
	&lt;li&gt;Re-run the aggregate and then click to show the count, the updated count is displayed&lt;/li&gt;
&lt;/ol&gt;


&lt;h3&gt;&lt;a name=&quot;ExpectedResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Expected Results&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;What do you expect to happen?&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;Accurate count always&lt;/font&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Actual Results&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;What do you observe is happening?&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;Count is not being updated after a deletion in Documents tab or deletion using mongo shell.&lt;/font&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;%21image20220924165016078.pngwidth%3D556%2Cheight%3D181%21AdditionalNotes&quot;&gt;&lt;/a&gt;&lt;b&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/404116/404116_image-2022-09-24-16-50-16-078.png&quot; height=&quot;181&quot; width=&quot;556&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt; Additional Notes&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;Any additional information that may be useful to include.&lt;/font&gt;&lt;/p&gt;</description>
                <environment>mac 12.6&lt;br/&gt;
Compass 1.33.1</environment>
        <key id="2144741">COMPASS-6156</key>
            <summary>Count in Aggregation tab is not updated after a deletion after first calculation</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="13201">Fixed</resolution>
                                        <assignee username="basit.chonka@mongodb.com">Basit Chonka</assignee>
                                    <reporter username="felicia.hsieh@mongodb.com">Felicia Hsieh</reporter>
                        <labels>
                    </labels>
                <created>Sat, 24 Sep 2022 23:56:05 +0000</created>
                <updated>Sun, 29 Oct 2023 02:38:49 +0000</updated>
                            <resolved>Thu, 22 Dec 2022 13:21:11 +0000</resolved>
                                    <version>1.33.1</version>
                                    <fixVersion>1.35.0</fixVersion>
                                    <component>Aggregation pipeline</component>
                    <component>Count</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5088526" author="xgen-internal-githook" created="Tue, 3 Jan 2023 22:40:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: feat(aggregations): add refresh document count in aggregation results &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6156&quot; title=&quot;Count in Aggregation tab is not updated after a deletion after first calculation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6156&quot;&gt;&lt;del&gt;COMPASS-6156&lt;/del&gt;&lt;/a&gt; (#3912)&lt;br/&gt;
Branch: 1.35-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/3b95e7794c93eeceebadb6bd8bd53301914ee3fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/3b95e7794c93eeceebadb6bd8bd53301914ee3fa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5086582" author="xgen-internal-githook" created="Tue, 3 Jan 2023 14:21:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: feat(aggregations): add refresh document count in aggregation results &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6156&quot; title=&quot;Count in Aggregation tab is not updated after a deletion after first calculation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6156&quot;&gt;&lt;del&gt;COMPASS-6156&lt;/del&gt;&lt;/a&gt; (#3912)&lt;br/&gt;
Branch: fix-missing-name-prop&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/3b95e7794c93eeceebadb6bd8bd53301914ee3fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/3b95e7794c93eeceebadb6bd8bd53301914ee3fa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5072663" author="xgen-internal-githook" created="Thu, 22 Dec 2022 14:09:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: feat(aggregations): add refresh document count in aggregation results &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6156&quot; title=&quot;Count in Aggregation tab is not updated after a deletion after first calculation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6156&quot;&gt;&lt;del&gt;COMPASS-6156&lt;/del&gt;&lt;/a&gt; (#3912)&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6159&quot; title=&quot;Export to Language (Java) has incorrect class name&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6159&quot;&gt;&lt;del&gt;COMPASS-6159&lt;/del&gt;&lt;/a&gt;-fix-export-to-java-class-name&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/3b95e7794c93eeceebadb6bd8bd53301914ee3fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/3b95e7794c93eeceebadb6bd8bd53301914ee3fa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5072553" author="xgen-internal-githook" created="Thu, 22 Dec 2022 13:19:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: feat(aggregations): add refresh document count in aggregation results &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6156&quot; title=&quot;Count in Aggregation tab is not updated after a deletion after first calculation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6156&quot;&gt;&lt;del&gt;COMPASS-6156&lt;/del&gt;&lt;/a&gt; (#3912)&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/3b95e7794c93eeceebadb6bd8bd53301914ee3fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/3b95e7794c93eeceebadb6bd8bd53301914ee3fa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5067704" author="xgen-internal-githook" created="Tue, 20 Dec 2022 16:11:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: Merge branch &apos;main&apos; into &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6156&quot; title=&quot;Count in Aggregation tab is not updated after a deletion after first calculation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6156&quot;&gt;&lt;del&gt;COMPASS-6156&lt;/del&gt;&lt;/a&gt;-add-refresh-doc-count&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6156&quot; title=&quot;Count in Aggregation tab is not updated after a deletion after first calculation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6156&quot;&gt;&lt;del&gt;COMPASS-6156&lt;/del&gt;&lt;/a&gt;-add-refresh-doc-count&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/ac29a1c6d14b40bec6e3ec1885cc0814184cc737&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/ac29a1c6d14b40bec6e3ec1885cc0814184cc737&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5067688" author="xgen-internal-githook" created="Tue, 20 Dec 2022 16:08:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: Merge branch &apos;main&apos; into &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6156&quot; title=&quot;Count in Aggregation tab is not updated after a deletion after first calculation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6156&quot;&gt;&lt;del&gt;COMPASS-6156&lt;/del&gt;&lt;/a&gt;-add-refresh-doc-count&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6156&quot; title=&quot;Count in Aggregation tab is not updated after a deletion after first calculation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6156&quot;&gt;&lt;del&gt;COMPASS-6156&lt;/del&gt;&lt;/a&gt;-add-refresh-doc-count&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/0820254e4f28bb38479863e0a4daaa25a6fe47ff&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/0820254e4f28bb38479863e0a4daaa25a6fe47ff&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4874836" author="rhys.howell" created="Mon, 3 Oct 2022 21:59:15 +0000"  >&lt;p&gt;We should reset the count status after the pipeline is re-run. &lt;/p&gt;

&lt;p&gt;If it&apos;s easy to fix at the same time, let&apos;s show `0` as the count when no documents are returned. Currently we still show the count results button even when no documents were returned.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="404116" name="image-2022-09-24-16-50-16-078.png" size="149318" author="felicia.hsieh@mongodb.com" created="Sat, 24 Sep 2022 23:50:17 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001oH6pHQAS]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 3 Oct 2022 21:59:15 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 5 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="10250"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;In this ticket we introduced a new button to refresh the count of documents on Run Aggregation screen.&lt;/p&gt;</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>
                            1 year, 5 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>basit.chonka@mongodb.com</customfieldvalue>
            <customfieldvalue>felicia.hsieh@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rhys.howell@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1bm73:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1ldp:p3bi</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="6755">Iteration Quahog</customfieldvalue>
    <customfieldvalue id="6756">Iteration Ragfish</customfieldvalue>

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

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