<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:12:52 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>[DOCS-15420] [SERVER] Investigate changes in SERVER-65735: $add operator should not use DoubleDoubleSummation in the classic engine</title>
                <link>https://jira.mongodb.org/browse/DOCS-15420</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    This is a small change in how floating-point $add expressions are evaluated. In operand lists with 10+ floating points, there may be a slightly different output depending on floating point errors.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    Discussed with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=geert.bosch%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;geert.bosch@mongodb.com&quot;&gt;geert.bosch@mongodb.com&lt;/a&gt; who implemented DoubleDoubleSummation in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19735&quot; title=&quot;Add aggregation support for experimental decimal data type&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19735&quot;&gt;&lt;del&gt;SERVER-19735&lt;/del&gt;&lt;/a&gt; and we determined that DoubleDoubleSummation was implemented for use in $group aggregation operators like &lt;tt&gt;$sum&lt;/tt&gt; where the user does not have control over the ordering of input arguments and there are consistently a very large number of values that need to be summed.&lt;/p&gt;

&lt;p&gt;For the &lt;tt&gt;$add&lt;/tt&gt; expression, where arguments are passed in explicitly by the end user, we should be prioritizing the behavior which is most clear and obvious and add doubles together normally.&#160;&lt;/p&gt;

&lt;p&gt;This ticket fell out of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63099&quot; title=&quot;Constant folding should not assume arithmetic is associative or commutative in the general case&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63099&quot;&gt;&lt;del&gt;SERVER-63099&lt;/del&gt;&lt;/a&gt;, which is attempting to make $add behave the same with and without the constant folding optimization.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="2070817">DOCS-15420</key>
            <summary>[SERVER] Investigate changes in SERVER-65735: $add operator should not use DoubleDoubleSummation in the classic engine</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="jeffrey.allen@mongodb.com">Jeffrey Allen</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Jun 2022 17:58:44 +0000</created>
                <updated>Mon, 13 Nov 2023 17:40:24 +0000</updated>
                            <resolved>Wed, 7 Dec 2022 21:39:01 +0000</resolved>
                                                    <fixVersion>6.1.0-rc0</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5049688" author="xgen-internal-githook" created="Mon, 12 Dec 2022 23:07:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Allen&apos;, &apos;email&apos;: &apos;jeffrey.allen@10gen.com&apos;, &apos;username&apos;: &apos;jeff-allen-mongo&apos;}
&lt;p&gt;Message: (&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15420&quot; title=&quot;[SERVER] Investigate changes in SERVER-65735: $add operator should not use DoubleDoubleSummation in the classic engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15420&quot;&gt;&lt;del&gt;DOCS-15420&lt;/del&gt;&lt;/a&gt;): 6.1 $add compatibility update (#2233)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;(&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15420&quot; title=&quot;[SERVER] Investigate changes in SERVER-65735: $add operator should not use DoubleDoubleSummation in the classic engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15420&quot;&gt;&lt;del&gt;DOCS-15420&lt;/del&gt;&lt;/a&gt;): 6.1 add compatibility update&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add link to aggregation page&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add example&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;review edits&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;typo&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;tweak heading title&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;wording&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;final review edits&lt;br/&gt;
Branch: indexes-refactor&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/785c2171316c5e3f2af17a2192116174cf6f6d0f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/785c2171316c5e3f2af17a2192116174cf6f6d0f&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5038666" author="xgen-internal-githook" created="Wed, 7 Dec 2022 21:10:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Allen&apos;, &apos;email&apos;: &apos;jeffrey.allen@10gen.com&apos;, &apos;username&apos;: &apos;jeff-allen-mongo&apos;}
&lt;p&gt;Message: (&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15420&quot; title=&quot;[SERVER] Investigate changes in SERVER-65735: $add operator should not use DoubleDoubleSummation in the classic engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15420&quot;&gt;&lt;del&gt;DOCS-15420&lt;/del&gt;&lt;/a&gt;): 6.1 $add compatibility update (#2233)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;(&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15420&quot; title=&quot;[SERVER] Investigate changes in SERVER-65735: $add operator should not use DoubleDoubleSummation in the classic engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15420&quot;&gt;&lt;del&gt;DOCS-15420&lt;/del&gt;&lt;/a&gt;): 6.1 add compatibility update&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add link to aggregation page&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add example&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;review edits&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;typo&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;tweak heading title&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;wording&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;final review edits&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/785c2171316c5e3f2af17a2192116174cf6f6d0f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/785c2171316c5e3f2af17a2192116174cf6f6d0f&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4621592" author="edu.bot" created="Thu, 16 Jun 2022 17:58:52 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-65735&quot; title=&quot;$add operator should not use DoubleDoubleSummation in the classic engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-65735&quot;&gt;&lt;del&gt;SERVER-65735&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.1.0-rc0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="2027223">SERVER-65735</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="2112900">DOCS-15541</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 16 Jun 2022 17:58:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 8 weeks, 2 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>This is a small change in how floating-point $add expressions are evaluated. In operand lists with 10+ floating points, there may be a slightly different output depending on floating point errors.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-21764</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_14873" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">
                        <customfieldname>External Reviewer</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[davis.haupt@mongodb.com]]></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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 8 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jeffrey.allen@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0yz6v:</customfieldvalue>

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

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