<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:37:46 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-55899] Move away from using Bson_serialization_type &#8220;any&#8221; - Collation</title>
                <link>https://jira.mongodb.org/browse/SERVER-55899</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Using Bson_serialization_type &#8220;any&#8221; means that idl compatibility checker script can&#8217;t do any type checking, since that logic is in cpp, so we want to disallow this type from parameters/reply fields as a result.&lt;/p&gt;

&lt;p&gt;However, lots of commands actually use it for valid reasons.&lt;br/&gt;
 For now we added some exceptions to allow using Bson_serialization_type &#8220;any&#8221; in our idl_checker script, these are the lisf of fields that still using Bson_serialization_type &#8220;any&#8221; that require your attention:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;src/mongo/db/commands/create.idl&lt;/b&gt;:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&apos;create&apos; has sub-field of type &apos;Collation:&apos; which contains &apos;backwards&apos; of type &apos;optionalBool&apos;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Take a look at these fields and try to identify which ones can be converted away from using Bson_serialization_type &#8220;any&#8221;, and which ones must keep using it.&lt;br/&gt;
 Here are the two outcomes:&lt;br/&gt;
 1- if the field can be converted:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;This change should be done before 5.0 (if the field is &quot;stable&quot;) as this will be the realese for API stable Version 1&lt;/li&gt;
	&lt;li&gt;The exception for that field should be removed from idl_checker script (TODO will be added with this ticket number).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;2- if the field can&apos;t be converted, or the change can&apos;t be done before 5.0.&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The type of that field type should stay of Bson_serialization_type &#8220;any&#8221; and can&apos;t be changed later for any reason unless it is defined as &quot;unstable&quot;.&lt;/li&gt;
	&lt;li&gt;We need to put comments on the serialization/deserialization to prevent the behavioral changes (preferably to add tests to ensure that.)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1674279">SERVER-55899</key>
            <summary>Move away from using Bson_serialization_type &#8220;any&#8221; - Collation</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="13201">Fixed</resolution>
                                        <assignee username="milena.ivanova@mongodb.com">Milena Ivanova</assignee>
                                    <reporter username="benety.goh@mongodb.com">Benety Goh</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Apr 2021 12:10:23 +0000</created>
                <updated>Sun, 29 Oct 2023 21:55:10 +0000</updated>
                            <resolved>Thu, 29 Apr 2021 08:08:29 +0000</resolved>
                                                    <fixVersion>5.0.0-rc0</fixVersion>
                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3756221" author="xgen-internal-githook" created="Wed, 5 May 2021 13:06:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Milena Ivanova&apos;, &apos;email&apos;: &apos;milena.ivanova@mongodb.com&apos;, &apos;username&apos;: &apos;mivanova3&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56496&quot; title=&quot;Complete TODO listed in SERVER-55899&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56496&quot;&gt;&lt;del&gt;SERVER-56496&lt;/del&gt;&lt;/a&gt; Complete TODO listed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55899&quot; title=&quot;Move away from using Bson_serialization_type &#8220;any&#8221; - Collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55899&quot;&gt;&lt;del&gt;SERVER-55899&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8a24eacb196b679b8f7dbf28b55b79ee60c5a523&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8a24eacb196b679b8f7dbf28b55b79ee60c5a523&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3745926" author="JIRAUSER1255446" created="Thu, 29 Apr 2021 08:08:29 +0000"  >&lt;p&gt;This task adds unit tests for the serialization/ deserialization of IDL optionalBool type. The &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56387&quot; title=&quot;Check optionalBool-typed IDL fields for backward compatibility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56387&quot;&gt;&lt;del&gt;SERVER-56387&lt;/del&gt;&lt;/a&gt; proposes improved long-term solution for the issue, which can be done after 5.0 release.&lt;/p&gt;</comment>
                            <comment id="3745119" author="xgen-internal-githook" created="Wed, 28 Apr 2021 19:50:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Milena Ivanova&apos;, &apos;email&apos;: &apos;milena.ivanova@mongodb.com&apos;, &apos;username&apos;: &apos;mivanova3&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55899&quot; title=&quot;Move away from using Bson_serialization_type &#8220;any&#8221; - Collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55899&quot;&gt;&lt;del&gt;SERVER-55899&lt;/del&gt;&lt;/a&gt; Add serialization/deserialization unit test for IDL optionalBool type&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2957e50d04bf5eb2d3ad2aabdd37f8a63b10835d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2957e50d04bf5eb2d3ad2aabdd37f8a63b10835d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3708055" author="connie.chen" created="Thu, 8 Apr 2021 15:45:50 +0000"  >&lt;p&gt;Reassigning to to Query as we think they are the best team to address. This is definitely 5.0 required.&lt;/p&gt;</comment>
                            <comment id="3707475" author="benety.goh" created="Thu, 8 Apr 2021 12:13:20 +0000"  >&lt;p&gt;Originally filed as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54956&quot; title=&quot;Move away from using Bson_serialization_type &#8220;any&#8221; - CommitQuorum&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54956&quot;&gt;&lt;del&gt;SERVER-54956&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The Collation IDL specification affects a different part of the server from CommitQuorum and requires different context.&lt;/p&gt;

&lt;p&gt;CC: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=m.maher&quot; class=&quot;user-hover&quot; rel=&quot;m.maher&quot;&gt;m.maher&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1696314">SERVER-56496</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1692938">SERVER-56387</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1639702">SERVER-54956</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</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>Thu, 8 Apr 2021 15:45:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 40 weeks 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 40 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>benety.goh@mongodb.com</customfieldvalue>
            <customfieldvalue>connie.chen@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>milena.ivanova@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hz3sp3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyouyn:</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="4473">Query Optimization 2021-05-03</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|hz3ey7:</customfieldvalue>

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