<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:56:39 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-63006] CSFLE - $facet aggregation fails on non-encrypted collection</title>
                <link>https://jira.mongodb.org/browse/SERVER-63006</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Whatproblemareyoufacing%3F&quot;&gt;&lt;/a&gt;What problem are you facing?&lt;/h3&gt;

&lt;p&gt;Connection has CSFLE configured with encryption on 2 collections. Attempting to use a $facet aggregation on a non-encrypted collection throws the following error:&lt;/p&gt;

&lt;p&gt;&quot;Aggregation stage &lt;span class=&quot;error&quot;&gt;&amp;#91;UNKNOWN&amp;#93;&lt;/span&gt; is not allowed or supported with automatic encryption&quot;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Whatdriverandrelevantdependencyversionsareyouusing%3F&quot;&gt;&lt;/a&gt;What driver and relevant dependency versions are you using?&lt;/h3&gt;


&lt;p&gt;&quot;mongodb&quot;: &quot;4.1.1&quot;,&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Stepstoreproduce%3F&quot;&gt;&lt;/a&gt;Steps to reproduce?&lt;/h3&gt;</description>
                <environment></environment>
        <key id="1971292">SERVER-63006</key>
            <summary>CSFLE - $facet aggregation fails on non-encrypted collection</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="9">Done</resolution>
                                        <assignee username="eric.sedor@mongodb.com">Eric Sedor</assignee>
                                    <reporter username="phil@bestinclasscare.com">Phil Boardman</reporter>
                        <labels>
                            <label>external-user</label>
                    </labels>
                <created>Wed, 26 Jan 2022 15:27:42 +0000</created>
                <updated>Mon, 21 Mar 2022 20:17:52 +0000</updated>
                            <resolved>Mon, 21 Mar 2022 20:17:52 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="4425112" author="eric.sedor" created="Mon, 21 Mar 2022 20:17:40 +0000"  >&lt;p&gt;Thank you for understanding, Phil. I&apos;m going to close this ticket.&lt;/p&gt;</comment>
                            <comment id="4404980" author="JIRAUSER1262289" created="Thu, 10 Mar 2022 20:51:24 +0000"  >&lt;p&gt;@eric.sedor, contacted Atlas support. Also, verified that the behavior is the same in mongosh.&lt;/p&gt;</comment>
                            <comment id="4398742" author="eric.sedor" created="Tue, 8 Mar 2022 18:47:29 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phil%40bestinclasscare.com&quot; class=&quot;user-hover&quot; rel=&quot;phil@bestinclasscare.com&quot;&gt;phil@bestinclasscare.com&lt;/a&gt;. Since there are considerations unique to Atlas involved in the support of this feature, I&apos;d like to ask that you reach out to our Atlas team to describe the issues you are having. You can do this by clicking the round green button at the bottom right of the cluster view page in Atlas.&lt;/p&gt;

&lt;p&gt;It&apos;s possible this behavior is the ultimate result of a server bug, in which case we would address it here in the SERVER jira project. But Atlas support will be the best place to start to determine if a change is required in the core MongoDB server.&lt;/p&gt;</comment>
                            <comment id="4398647" author="JIRAUSER1262289" created="Tue, 8 Mar 2022 18:19:32 +0000"  >&lt;p&gt;@eric.sedor that is correct&lt;/p&gt;</comment>
                            <comment id="4398438" author="eric.sedor" created="Tue, 8 Mar 2022 17:19:31 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phil%40bestinclasscare.com&quot; class=&quot;user-hover&quot; rel=&quot;phil@bestinclasscare.com&quot;&gt;phil@bestinclasscare.com&lt;/a&gt;, and thanks for your patience. I am inferring that you are using the &lt;a href=&quot;https://docs.mongodb.com/manual/core/security-automatic-client-side-encryption/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&quot;automatic encryption&quot;&lt;/a&gt; feature that is provided in MongoDB Enterprise and on MongoDB Atlas. Is that right?&lt;/p&gt;</comment>
                            <comment id="4362423" author="JIRAUSER1262289" created="Thu, 17 Feb 2022 19:47:36 +0000"  >&lt;p&gt;I see there is an upgrade available on Atlas (5.0). Is it known whether this is fixed in 5.0?&lt;/p&gt;</comment>
                            <comment id="4327498" author="JIRAUSER1262289" created="Tue, 1 Feb 2022 15:12:18 +0000"  >&lt;p&gt;@eric.sedor 4.1.1 is the client driver version.&lt;/p&gt;

&lt;p&gt;MongoDB version is&#160;4.4.12 (Atlas)&lt;/p&gt;</comment>
                            <comment id="4326308" author="eric.sedor" created="Mon, 31 Jan 2022 22:42:23 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phil%40bestinclasscare.com&quot; class=&quot;user-hover&quot; rel=&quot;phil@bestinclasscare.com&quot;&gt;phil@bestinclasscare.com&lt;/a&gt;, can you clarify what version of MongoDB you are seeing this issue with? I am currently inferring that &quot;4.4.1&quot; is your node driver version, but let me know if I&apos;ve misunderstood.&lt;/p&gt;</comment>
                            <comment id="4315680" author="neal.beeken" created="Wed, 26 Jan 2022 16:13:27 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phil%40bestinclasscare.com&quot; class=&quot;user-hover&quot; rel=&quot;phil@bestinclasscare.com&quot;&gt;phil@bestinclasscare.com&lt;/a&gt; I identified the error comes from mongocryptd, so the issue isn&apos;t specifically related to the Nodejs driver, I&apos;ve went ahead and redirected this to the server team to assist. &lt;/p&gt;</comment>
                            <comment id="4315467" author="dbeng-pm-bot" created="Wed, 26 Jan 2022 15:27:45 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phil%40bestinclasscare.com&quot; class=&quot;user-hover&quot; rel=&quot;phil@bestinclasscare.com&quot;&gt;phil@bestinclasscare.com&lt;/a&gt;, thank you for submitting this ticket! The team is going to investigate in the linked NODE ticket and reply back to you here with more info after the investigation is completed. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1971293">NODE-3907</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Jan 2022 15:27:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 46 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/NODE-3907'>NODE-3907</a></s>]]></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>eric.sedor@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 46 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>neal.beeken@mongodb.com</customfieldvalue>
            <customfieldvalue>phil@bestinclasscare.com</customfieldvalue>
            <customfieldvalue>dbeng-pm-bot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0i4cf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i017sn:</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>
                                    <customfieldvalue><![CDATA[eric.sedor@mongodb.com]]></customfieldvalue>
    

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

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