<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:42:50 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-80164] Improve speed of computing shape hash for MatchExpression</title>
                <link>https://jira.mongodb.org/browse/SERVER-80164</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have two similar ideas here worth exploring: &lt;/p&gt;

&lt;p&gt;First, similar to this idea: &lt;a href=&quot;https://github.com/mongodb/mongo/commit/525b08e5016fd1d194943215269cc027c5b8c57b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/525b08e5016fd1d194943215269cc027c5b8c57b&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We could make a custom hasher which will hash combine &quot;shapified&quot; literals rather than the actual literal values. &lt;/p&gt;

&lt;p&gt;Second, we could take the idea &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=william.qian%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;william.qian@mongodb.com&quot;&gt;william.qian@mongodb.com&lt;/a&gt; wrote in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79736?focusedCommentId=5621367&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-5621367&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt; and perform some hashing as we go. I think this would likely save on some of the tech debt code duplication I&apos;m imagining in the first idea, but I&apos;m not sure how much it would improve perf if we are still building a BSON object which I don&apos;t think we actually need? If the idea is to hook it into the parser itself then it could definitely be faster but I&apos;m not sure about the complexity without looking further. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2419397">SERVER-80164</key>
            <summary>Improve speed of computing shape hash for MatchExpression</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-servicearch">Backlog - Service Architecture</assignee>
                                    <reporter username="charlie.swanson@mongodb.com">Charlie Swanson</reporter>
                        <labels>
                            <label>former-pm-2885</label>
                    </labels>
                <created>Wed, 16 Aug 2023 20:21:27 +0000</created>
                <updated>Thu, 12 Oct 2023 18:29:48 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5752319" author="charlie.swanson" created="Wed, 4 Oct 2023 15:20:38 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sebastien.mendez%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;sebastien.mendez@mongodb.com&quot;&gt;sebastien.mendez@mongodb.com&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=denis.grebennicov%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;denis.grebennicov@mongodb.com&quot;&gt;denis.grebennicov@mongodb.com&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jess.balint%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;jess.balint@mongodb.com&quot;&gt;jess.balint@mongodb.com&lt;/a&gt; - I am removing this idea from the PM-2885 epic as we don&apos;t plan to work on it before closing it out - will flag for scheduling as a proposal to send it to the backlog. Should we link it as related to your projects? I think each of you considered doing something like this. It would probably be a good idea but I am worried about the complexity and code duplication.&#160;&lt;/p&gt;</comment>
                            <comment id="5638950" author="charlie.swanson" created="Wed, 16 Aug 2023 20:26:08 +0000"  >&lt;p&gt;cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=denis.grebennicov%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;denis.grebennicov@mongodb.com&quot;&gt;denis.grebennicov@mongodb.com&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sebastien.mendez%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;sebastien.mendez@mongodb.com&quot;&gt;sebastien.mendez@mongodb.com&lt;/a&gt; - we were talking about this first idea if I&apos;m remembering correctly.&lt;/p&gt;</comment>
                            <comment id="5638947" author="charlie.swanson" created="Wed, 16 Aug 2023 20:24:24 +0000"  >&lt;p&gt;I&apos;m tentatively linking this idea to M3 (WRITING-14659) since I think this would add more tech debt than it is worth, but I am open to reconsidering this, especially if &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79736&quot; title=&quot;Hash C++ data structures directly rather than building BSONObj&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79736&quot;&gt;&lt;del&gt;SERVER-79736&lt;/del&gt;&lt;/a&gt; doesn&apos;t recover as much perf as we want it to. If that ticket does work out, I&apos;d consider either closing this as &quot;won&apos;t do&quot; or moving it into another epic like PM-412 which may need it more than we do.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2409371">SERVER-79736</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25132"><![CDATA[Service Arch]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        18 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3268</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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            18 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-servicearch</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2mmxz:</customfieldvalue>

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

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