<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:08:56 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-5450] refactor and optimize FieldRangeVectorIterator</title>
                <link>https://jira.mongodb.org/browse/SERVER-5450</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The implementation can be refactored, and also there has been a note in the code since this class was created suggesting that additional optimizations may be implemented.  The optimizations fall into two categories:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;some btree skips that are applied for range bounds may be optimized out for $in bounds (in some cases they are already optimized out)&lt;/li&gt;
	&lt;li&gt;in some cases fewer comparisons could be performed by the implementation&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="35032">SERVER-5450</key>
            <summary>refactor and optimize FieldRangeVectorIterator</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="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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="aaron">Aaron Staple</reporter>
                        <labels>
                            <label>query_triage</label>
                    </labels>
                <created>Thu, 29 Mar 2012 19:26:26 +0000</created>
                <updated>Wed, 10 Dec 2014 23:15:14 +0000</updated>
                            <resolved>Tue, 10 Dec 2013 22:03:38 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="107619" author="auto" created="Sat, 7 Apr 2012 18:39:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; Avoid reference to temporary in FieldRangeVectorIterator::FieldIntervalMatcher unit tests.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/02ce58ef478d0b920fbd917af9a66a97f844af90&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/02ce58ef478d0b920fbd917af9a66a97f844af90&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107596" author="auto" created="Sat, 7 Apr 2012 17:07:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; De-inline FieldIntervalMatcher members; leave CompoundRangeCounter counting members inlined.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d6f2b190bab407a87ab8139894af93df7829808b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d6f2b190bab407a87ab8139894af93df7829808b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107594" author="auto" created="Sat, 7 Apr 2012 17:07:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; Clean arguments to FieldRangeVectorIterator::validateCurrentInterval().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2a447b7e4ffc1ee408d2c9376114fbcb97b5133f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2a447b7e4ffc1ee408d2c9376114fbcb97b5133f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107593" author="auto" created="Sat, 7 Apr 2012 17:07:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; Refactor FieldIntervalMatcher from FieldRangeVectorIterator.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e8bd69844d785100f78d931c647e496f4cb6e523&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e8bd69844d785100f78d931c647e496f4cb6e523&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107592" author="auto" created="Sat, 7 Apr 2012 17:07:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; Refactor FieldRangeVectorIterator::advance() code for setting advance method state.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5e5f224044f902bc65ee614c1a0e955a6966e864&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5e5f224044f902bc65ee614c1a0e955a6966e864&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107591" author="auto" created="Sat, 7 Apr 2012 17:07:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; Reorganize FieldRangeVectorIterator::validateCurrentInterval() a bit.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3ddea194923c9dd6f75999707d4445d5f59fe189&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3ddea194923c9dd6f75999707d4445d5f59fe189&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107590" author="auto" created="Sat, 7 Apr 2012 17:07:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; Extract validateCurrentInterval() from FieldRangeVectorIterator::advance().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a4cd061f60ed902ffd4e4f7aae688623565a2d78&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a4cd061f60ed902ffd4e4f7aae688623565a2d78&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107589" author="auto" created="Sat, 7 Apr 2012 17:07:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; Refactor FieldRangeVectorIterator&apos;s current position within a vector of ranges into a counter class.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6a8f01b10c055ca8a3bf3ce1eaf7893a1b92b1c6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6a8f01b10c055ca8a3bf3ce1eaf7893a1b92b1c6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107588" author="auto" created="Sat, 7 Apr 2012 17:07:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5450&quot; title=&quot;refactor and optimize FieldRangeVectorIterator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5450&quot;&gt;&lt;del&gt;SERVER-5450&lt;/del&gt;&lt;/a&gt; Add some initial descriptive unit tests for FieldRangeVectorIterator, with a focus on cases where the cached interval position _i is modified.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c38f075321524306f8913f6c76a5a85180b3d901&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c38f075321524306f8913f6c76a5a85180b3d901&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="13986">SERVER-2236</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="31432">SERVER-5063</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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 7 Apr 2012 17:07:12 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 45 weeks, 4 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_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>
                            11 years, 45 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aaron</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro7rr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrfxbb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5737</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_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|hsup3j:</customfieldvalue>

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