<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:49 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-2386] Geo indexing fails when min/max margins around included locations &lt; 1</title>
                <link>https://jira.mongodb.org/browse/SERVER-2386</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When the min/max of an ensureIndex(&lt;/p&gt;
{ loc : &quot;2d&quot; }
&lt;p&gt;, &lt;/p&gt;
{min, max}
&lt;p&gt;) call are anything less than a single unit greater than or less than any of the locations being indexed, we get the following exception (failed assertation):&lt;/p&gt;

&lt;p&gt; &amp;gt; t.ensureIndex(&lt;/p&gt;
{ loc : &quot;2d&quot; }
&lt;p&gt;, &lt;/p&gt;
{ max : 1 + epsilon, min : -1 - epsilon }
&lt;p&gt;)&lt;br/&gt;
Fri Jan 21 10:41:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; building new index on &lt;/p&gt;
{ loc: &quot;2d&quot; }
&lt;p&gt; for test.borders&lt;br/&gt;
Fri Jan 21 10:41:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt;  test.system.indexes Assertion failure in &amp;gt; 0 db/geo/2d.cpp 199&lt;br/&gt;
0x508113 0x513521 0x6e028a 0x6e2110 0x6e2fdb 0x584570 0x69ae80 0x69e0bc 0x69f99a 0x68019c 0x6857c2 0x7693ef 0x7f9572e03230 0x7f957351e971 0x7f9571b0092d &lt;br/&gt;
 /opt/mongo/bin/mongod(_ZN5mongo12sayDbContextEPKc+0xb3) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x508113&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZN5mongo8assertedEPKcS1_j+0xc1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x513521&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZNK5mongo9Geo2dType4hashEdd+0x7a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e028a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZNK5mongo9Geo2dType5_hashERKNS_7BSONObjE+0x1a0) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e2110&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZNK5mongo9Geo2dType7getKeysERKNS_7BSONObjERSt3setIS1_NS_22BSONObjCmpDefaultOrderESaIS1_EE+0xeb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e2fdb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZNK5mongo9IndexSpec7getKeysERKNS_7BSONObjERSt3setIS1_NS_22BSONObjCmpDefaultOrderESaIS1_EE+0x40) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x584570&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZN5mongo14fastBuildIndexEPKcPNS_16NamespaceDetailsERNS_12IndexDetailsEi+0x540) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x69ae80&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZN5mongo11DataFileMgr6insertEPKcPKvibRKNS_11BSONElementEb+0x122c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x69e0bc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZN5mongo11DataFileMgr16insertWithObjModEPKcRNS_7BSONObjEb+0x4a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x69f99a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZN5mongo14receivedInsertERNS_7MessageERNS_5CurOpE+0x27c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x68019c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x13f2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6857c2&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongo/bin/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x2cf) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7693ef&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libboost_thread.so.1.42.0(thread_proxy+0x60) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f9572e03230&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libpthread.so.0(+0x7971) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f957351e971&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f9571b0092d&amp;#93;&lt;/span&gt;&lt;br/&gt;
Fri Jan 21 10:41:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; insert test.system.indexes exception 0 assertion db/geo/2d.cpp:199 6ms&lt;br/&gt;
in &amp;gt; 0&lt;/p&gt;

&lt;p&gt;The attachment has a testcase which should reproduce the issue (creates a square with points from &lt;span class=&quot;error&quot;&gt;&amp;#91;-1, 1&amp;#93;&lt;/span&gt; on both axes, tries to index with a max of 1.99 and min of -0.99.  Same issue tested on smaller squares of points too.)&lt;/p&gt;</description>
                <environment>Linux 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux&lt;br/&gt;
</environment>
        <key id="14271">SERVER-2386</key>
            <summary>Geo indexing fails when min/max margins around included locations &lt; 1</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="greg_10gen">Greg Studer</assignee>
                                    <reporter username="greg_10gen">Greg Studer</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 Jan 2011 15:50:57 +0000</created>
                <updated>Tue, 12 Jul 2016 00:18:10 +0000</updated>
                            <resolved>Thu, 17 Mar 2011 15:29:27 +0000</resolved>
                                    <version>1.7.4</version>
                                    <fixVersion>1.9.0</fixVersion>
                                    <component>Geo</component>
                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="25969" author="auto" created="Tue, 15 Mar 2011 23:24:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;gregstuder&apos;, u&apos;name&apos;: u&apos;gregs&apos;, u&apos;email&apos;: u&apos;greg@10gen.com&apos;}
&lt;p&gt;Message: double bounds for geo query scaling and addn&apos;l error msgs &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2386&quot; title=&quot;Geo indexing fails when min/max margins around included locations &amp;lt; 1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2386&quot;&gt;&lt;del&gt;SERVER-2386&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2388&quot; title=&quot;Cleanup of bounds-handling cases&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2388&quot;&gt;&lt;del&gt;SERVER-2388&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/729f9caf51e2c82aa9a1b2493829b827610748ab&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/729f9caf51e2c82aa9a1b2493829b827610748ab&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="22579" author="greg_10gen" created="Fri, 21 Jan 2011 15:52:55 +0000"  >&lt;p&gt;Forgot to add, could be an issue if indexing sets of locations with very small magnitudes, the margin required around locations is much larger than the location range and may eat up accuracy.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10730" name="geo_borders_testcases.js" size="478" author="greg_10gen" created="Fri, 21 Jan 2011 15:50:57 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 15 Mar 2011 23:24:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 49 weeks, 1 day 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>
                            12 years, 49 weeks, 1 day 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_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>auto</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp87b:</customfieldvalue>

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

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

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