<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:09:27 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-25535] Remove injectExpressionContext() methods from pipeline directory</title>
                <link>https://jira.mongodb.org/browse/SERVER-25535</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Before &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25038&quot; title=&quot;Comparisons made by $bucket at parse time must respect the collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25038&quot;&gt;&lt;del&gt;SERVER-25038&lt;/del&gt;&lt;/a&gt; we were parsing the aggregation pipeline before we acquired the collection lock, and thus before we knew whether there was a default collation to use, so we added injectExpressionContext() as a callback to inform the pipeline of the new collation (if necessary). Once &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25038&quot; title=&quot;Comparisons made by $bucket at parse time must respect the collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25038&quot;&gt;&lt;del&gt;SERVER-25038&lt;/del&gt;&lt;/a&gt; is resolved, we can remove injectExpressionContext(), and make everything that might make string comparisons take an ExpressionContext as an argument to the constructor/parser, thus ensuring all comparisons can use the correct collation.&lt;/p&gt;</description>
                <environment></environment>
        <key id="308021">SERVER-25535</key>
            <summary>Remove injectExpressionContext() methods from pipeline directory</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="charlie.swanson@mongodb.com">Charlie Swanson</assignee>
                                    <reporter username="charlie.swanson@mongodb.com">Charlie Swanson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Aug 2016 18:10:14 +0000</created>
                <updated>Wed, 5 Apr 2017 11:43:40 +0000</updated>
                            <resolved>Fri, 16 Dec 2016 21:25:11 +0000</resolved>
                                                    <fixVersion>3.4.2</fixVersion>
                    <fixVersion>3.5.2</fixVersion>
                                    <component>Aggregation Framework</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1465528" author="david.storch" created="Tue, 27 Dec 2016 19:10:41 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aqueen&quot; class=&quot;user-hover&quot; rel=&quot;aqueen&quot;&gt;aqueen&lt;/a&gt;, yes, this has been merged into the v3.4 branch and will be released with the forthcoming 3.4.2 version. Our release process will automatically update the fixVersion to 3.4.2 when the build becomes available, but I&apos;ll update it manually in order to make the state more clear.&lt;/p&gt;</comment>
                            <comment id="1464897" author="aqueen" created="Sat, 24 Dec 2016 22:36:03 +0000"  >&lt;p&gt;From the previous comment, it appears this might be merged in with the 3.4 branch. Could you update this issue with the expected 3.4.x fix version?&lt;/p&gt;</comment>
                            <comment id="1464384" author="xgen-internal-githook" created="Thu, 22 Dec 2016 21:40:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;cswanson310&apos;, u&apos;name&apos;: u&apos;Charlie Swanson&apos;, u&apos;email&apos;: u&apos;charlie.swanson@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25535&quot; title=&quot;Remove injectExpressionContext() methods from pipeline directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25535&quot;&gt;&lt;del&gt;SERVER-25535&lt;/del&gt;&lt;/a&gt; Remove injectExpressionContext().&lt;/p&gt;

&lt;p&gt;These methods were formally used to propagate a new ExpressionContext to&lt;br/&gt;
stages, accumulators, or expressions which potentially needed to&lt;br/&gt;
comparisons. Originally, this was necessary since Pipeline parsing&lt;br/&gt;
happened outside of the collection lock and thus could not determine if&lt;br/&gt;
there was a default collation on the collection. This meant that the&lt;br/&gt;
collation could change after parsing and any operators that might&lt;br/&gt;
compare strings would need to know about it.&lt;/p&gt;

&lt;p&gt;We have since moved parsing within the lock, so the collation can be&lt;br/&gt;
known at parse time and the ExpressionContext should not change. This&lt;br/&gt;
patch requires an ExpressionContext at construction time, and disallows&lt;br/&gt;
changing the collation on an ExpressionContext.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 37e720678f6e468726c6cc775a5dc898d080f0f3)&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/669d6ffed2e3da347d8f55f3e54da3e7374218ff&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/669d6ffed2e3da347d8f55f3e54da3e7374218ff&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1460244" author="xgen-internal-githook" created="Fri, 16 Dec 2016 21:24:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;cswanson310&apos;, u&apos;name&apos;: u&apos;Charlie Swanson&apos;, u&apos;email&apos;: u&apos;charlie.swanson@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25535&quot; title=&quot;Remove injectExpressionContext() methods from pipeline directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25535&quot;&gt;&lt;del&gt;SERVER-25535&lt;/del&gt;&lt;/a&gt; Remove injectExpressionContext().&lt;/p&gt;

&lt;p&gt;These methods were formally used to propagate a new ExpressionContext to&lt;br/&gt;
stages, accumulators, or expressions which potentially needed to&lt;br/&gt;
comparisons. Originally, this was necessary since Pipeline parsing&lt;br/&gt;
happened outside of the collection lock and thus could not determine if&lt;br/&gt;
there was a default collation on the collection. This meant that the&lt;br/&gt;
collation could change after parsing and any operators that might&lt;br/&gt;
compare strings would need to know about it.&lt;/p&gt;

&lt;p&gt;We have since moved parsing within the lock, so the collation can be&lt;br/&gt;
known at parse time and the ExpressionContext should not change. This&lt;br/&gt;
patch requires an ExpressionContext at construction time, and disallows&lt;br/&gt;
changing the collation on an ExpressionContext.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/37e720678f6e468726c6cc775a5dc898d080f0f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/37e720678f6e468726c6cc775a5dc898d080f0f3&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="338418">SERVER-27395</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="341428">SERVER-27537</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="342437">SERVER-27575</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="342502">SERVER-27579</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="344172">SERVER-27626</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="341150">SERVER-27518</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="334828">SERVER-27201</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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="17787">3.4.2</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 29 Nov 2016 18:31:04 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 7 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_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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 7 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aqueen</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjzgf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrbxkf:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1349">Query 2016-11-21</customfieldvalue>
    <customfieldvalue id="1389">Query 2016-12-12</customfieldvalue>
    <customfieldvalue id="1438">Query 2017-01-23</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_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|hrmnof:</customfieldvalue>

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