<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:21:58 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-50172] Allow maxCellsInCovering index parameter</title>
                <link>https://jira.mongodb.org/browse/SERVER-50172</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/cbd23d40077b148f94ba74fef49198b287e51747/src/mongo/db/index/expression_params.cpp#L185&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;maxCellsInCovering&lt;/a&gt; is probably the most important index parameter of 2dsphere index, added in 3.2. It is an advisory upper bound of the number of cells (index keys) of a geometry, but it&apos;s not documented.&lt;/p&gt;

&lt;p&gt;Since &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-769&quot; title=&quot;Validate top-level &amp;amp; index spec field names for the createIndexes command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-769&quot;&gt;&lt;del&gt;SERVER-769&lt;/del&gt;&lt;/a&gt; in 3.4, it is not allowed, even though the other &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0f646164fd98759a66d3c1239b9a42dc8a4725c0/src/mongo/db/catalog/index_key_validate.cpp#L78&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;two 2dsphere index parameters are allowed&lt;/a&gt;. We should add &quot;maxCellsInCovering&quot; to the allowed filed list and consider documenting it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1434523">SERVER-50172</key>
            <summary>Allow maxCellsInCovering index parameter</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-execution">Backlog - Query Execution</assignee>
                                    <reporter username="siyuan.zhou@mongodb.com">Siyuan Zhou</reporter>
                        <labels>
                            <label>neweng</label>
                            <label>qexec-team</label>
                    </labels>
                <created>Fri, 7 Aug 2020 04:20:07 +0000</created>
                <updated>Tue, 6 Dec 2022 02:12:51 +0000</updated>
                                                                            <component>Index Maintenance</component>
                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3495600" author="kateryna.kamenieva" created="Wed, 18 Nov 2020 15:22:37 +0000"  >&lt;p&gt;Flagging for re-triage based on the additional info from &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=siyuan.zhou&quot; class=&quot;user-hover&quot; rel=&quot;siyuan.zhou&quot;&gt;siyuan.zhou&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3494400" author="siyuan.zhou@10gen.com" created="Tue, 17 Nov 2020 19:50:16 +0000"  >&lt;p&gt;This parameter was originally&#160;requested by users in&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10363&quot; title=&quot;User should be able to specify 2dsphere paramaters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10363&quot;&gt;&lt;del&gt;SERVER-10363&lt;/del&gt;&lt;/a&gt; and&#160;introduced in&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19168&quot; title=&quot;Finer default indexed level for indexing non-point geometries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19168&quot;&gt;&lt;del&gt;SERVER-19168&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We actually didn&apos;t remove the support for&#160;configurable&#160;&lt;tt&gt;maxCellsInCovering&lt;/tt&gt;. It&apos;s parsed &lt;a href=&quot;https://github.com/mongodb/mongo/blob/cbd23d40077b148f94ba74fef49198b287e51747/src/mongo/db/index/expression_params.cpp#L185-L190&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; and used &lt;a href=&quot;https://github.com/mongodb/mongo/blob/9adf729fdb062d619e422c81617b86c6ea759166/src/mongo/db/index/s2_common.cpp#L70-L71&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. It&apos;s just not allowed when &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0f646164fd98759a66d3c1239b9a42dc8a4725c0/src/mongo/db/catalog/index_key_validate.cpp#L78&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;validating the index parameters&lt;/a&gt;. Unlike other parameters, we don&apos;t have testing for this parameter, so maybe when we added strict validation, it was omitted.&lt;/p&gt;

&lt;p&gt;The proposal is to add &quot;maxCellsInCovering&quot; into &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0f646164fd98759a66d3c1239b9a42dc8a4725c0/src/mongo/db/catalog/index_key_validate.cpp#L78&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this list&lt;/a&gt;, do some sanity check (e.g. greater than 0) after parsing &lt;a href=&quot;https://github.com/mongodb/mongo/blob/cbd23d40077b148f94ba74fef49198b287e51747/src/mongo/db/index/expression_params.cpp#L196&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; and add test cases in &lt;tt&gt;geo_s2index.js&lt;/tt&gt; like &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d80312792b116f68bb3dd19d92e6c8f84c48f177/jstests/core/geo_s2index.js#L130&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3493926" author="JIRAUSER1257467" created="Tue, 17 Nov 2020 16:42:11 +0000"  >&lt;p&gt;Katia to review&#160;&lt;/p&gt;</comment>
                            <comment id="3349328" author="david.storch" created="Thu, 20 Aug 2020 15:28:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=justin.seyster&quot; class=&quot;user-hover&quot; rel=&quot;justin.seyster&quot;&gt;justin.seyster&lt;/a&gt;&#160;I&apos;m going to shift this into a future sprint to allow you to focus on SBE work.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="213437">SERVER-19168</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="83738">SERVER-10363</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25125"><![CDATA[Query Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 11 Aug 2020 15:49:29 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 12 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ana.meza@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-query-execution</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>kateryna.kamenieva@mongodb.com</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxz3gv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2ijz:</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="3621">Query 2020-12-14</customfieldvalue>
    <customfieldvalue id="3622">Query 2020-12-28</customfieldvalue>
    <customfieldvalue id="4459">Query 2021-01-11</customfieldvalue>
    <customfieldvalue id="4460">Query 2021-01-25</customfieldvalue>
    <customfieldvalue id="4462">Query Execution 2021-02-22</customfieldvalue>
    <customfieldvalue id="4464">Query Execution 2021-03-08</customfieldvalue>
    <customfieldvalue id="4466">Query Execution 2021-03-22</customfieldvalue>
    <customfieldvalue id="4468">Query Execution 2021-04-05</customfieldvalue>
    <customfieldvalue id="4470">Query Execution 2021-04-19</customfieldvalue>
    <customfieldvalue id="4472">Query Execution 2021-05-03</customfieldvalue>
    <customfieldvalue id="4697">Query Execution 2021-05-17</customfieldvalue>
    <customfieldvalue id="4703">Query Execution 2021-05-31</customfieldvalue>
    <customfieldvalue id="4705">Query Execution 2021-06-14</customfieldvalue>
    <customfieldvalue id="4707">Query Execution 2021-06-28</customfieldvalue>
    <customfieldvalue id="4709">Query Execution 2021-07-12</customfieldvalue>

                        </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|hxypq7:</customfieldvalue>

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