<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:05 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-2748] Uncaught internal exception (assertion db/geo/2d.cpp:236) on geo query</title>
                <link>https://jira.mongodb.org/browse/SERVER-2748</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;2 examples:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.nrwi.find(&lt;/p&gt;
{c:[288115985.5,0]}
&lt;p&gt;)          &lt;br/&gt;
error: &lt;/p&gt;
{ &quot;$err&quot; : &quot;assertion db/geo/2d.cpp:236&quot; }

&lt;p&gt;&amp;gt; db.nrwi.find({c:{$within:{$box:[&lt;span class=&quot;error&quot;&gt;&amp;#91;288115985.5,0&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;288115986.5,1&amp;#93;&lt;/span&gt;]}}}).explain()             &lt;br/&gt;
Sat Mar 12 00:04:32 uncaught exception: error: &lt;/p&gt;
{ &quot;$err&quot; : &quot;assertion db/geo/2d.cpp:236&quot; }

&lt;p&gt;The dataset&apos;s size is several GBs, and this is how the data looks like:&lt;/p&gt;

{ &quot;_id&quot; : ObjectId(&quot;4d7a97c0ed7cd785fe37804d&quot;), &quot;p&quot; : &quot;n&quot;, &quot;id&quot; : 20973869, &quot;c&quot; : [ 288174269, 1024.00003 ], &quot;r&quot; : 890 }
{ &quot;_id&quot; : ObjectId(&quot;4d7a97c0ed7cd785fe37804e&quot;), &quot;p&quot; : &quot;n&quot;, &quot;id&quot; : 20973895, &quot;c&quot; : [ 288174614, 1024.00003 ], &quot;r&quot; : 41 }

&lt;p&gt;This is the index:&lt;/p&gt;

&lt;p&gt;db.nrwi.ensureIndex(&lt;/p&gt;
{ c: &apos;2d&apos;, r: 1 }
&lt;p&gt;, &lt;/p&gt;
{ min: 0, max: Math.pow(2, 30) }
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;To use this large 2d min/max work as explained in this post: &lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/ef9047d0c94c0667&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user/browse_thread/thread/ef9047d0c94c0667&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="15097">SERVER-2748</key>
            <summary>Uncaught internal exception (assertion db/geo/2d.cpp:236) on geo query</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="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="5">Cannot Reproduce</resolution>
                                        <assignee username="greg_10gen">Greg Studer</assignee>
                                    <reporter username="andi">Andreas Kalsch</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Mar 2011 23:11:26 +0000</created>
                <updated>Fri, 30 Mar 2012 14:37:12 +0000</updated>
                            <resolved>Thu, 31 Mar 2011 17:15:53 +0000</resolved>
                                    <version>1.8.0-rc0</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="25872" author="greg_10gen" created="Mon, 14 Mar 2011 17:51:52 +0000"  >&lt;p&gt;Doesn&apos;t seem to fail for the rc0 either, probably unrelated to rc version in any case, as not much geo code has changed.&lt;/p&gt;</comment>
                            <comment id="25871" author="greg_10gen" created="Mon, 14 Mar 2011 17:48:31 +0000"  >&lt;p&gt;Hmm... can&apos;t seem to reproduce this one with the latest 1.8.0 rc, do you get the error using the simple attached test case on a later rc?  This may be related to &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;, but you don&apos;t seem to be near min values here.&lt;/p&gt;

&lt;p&gt;Also, what platform/OS are you running on... maybe that&apos;s the difference?&lt;/p&gt;</comment>
                            <comment id="25823" author="andi" created="Sat, 12 Mar 2011 18:57:53 +0000"  >&lt;p&gt;To gat a valid box, I need a range of 16 (=2^4) for both d_x and d_y.&lt;br/&gt;
This means that - with d(min..max) = 2^30 - the resolution of the index is only 2^30/2^4 = 2^26&lt;/p&gt;</comment>
                            <comment id="25822" author="andi" created="Sat, 12 Mar 2011 18:48:11 +0000"  >&lt;p&gt;Additional unexpected error:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.bri.find({c:{$within:{$box:[&lt;span class=&quot;error&quot;&gt;&amp;#91;288115984,1&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;288115986,1000&amp;#93;&lt;/span&gt;]}}}).explain()     &lt;br/&gt;
Sat Mar 12 19:50:08 uncaught exception: error: &lt;/p&gt;
{ &quot;$err&quot; : &quot;need an area &amp;gt; 0 &quot;, &quot;code&quot; : 13064 }</comment>
                    </comments>
                    <attachments>
                            <attachment id="11101" name="geo11.js" size="871" author="greg_10gen" created="Mon, 14 Mar 2011 17:49:02 +0000"/>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 14 Mar 2011 17:48:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 49 weeks, 2 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>ian@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, 2 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andi</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|hrp3qn:</customfieldvalue>

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

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

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