<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:03:02 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-3428] Geospatial index updates on replica servers on Ubuntu can crash the server</title>
                <link>https://jira.mongodb.org/browse/SERVER-3428</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Given a newly set up server, configured to run in a replica set, the following steps in the mongo console will hang the server if running on Ubuntu:&lt;/p&gt;

&lt;p&gt;rs.initiate()&lt;br/&gt;
&amp;lt;wait for the replica set&amp;gt;&lt;br/&gt;
use bug&lt;br/&gt;
db.map.ensureIndex(&lt;/p&gt;
{loc:&quot;2d&quot;}
&lt;p&gt;)&lt;br/&gt;
db.map.update({loc:{$near:&lt;span class=&quot;error&quot;&gt;&amp;#91;1.0,2.0&amp;#93;&lt;/span&gt;,$maxDistance:3.0}, people:{$exists:true}}, {$set:&lt;/p&gt;
{loc:[1.0,2.0]}
&lt;p&gt;, $push:{people:&quot;chris&quot;}}, true)&lt;/p&gt;

&lt;p&gt;At this point, the mongo database will become non-responsive and consume all available CPU.  This appears to be an issue with the $set for the location being performed as an upsert from a distance query.  Running on Windows or without a replica set does not appear to cause the problem.&lt;/p&gt;</description>
                <environment>Ubuntu 11.04, EC2 micro instance</environment>
        <key id="19490">SERVER-3428</key>
            <summary>Geospatial index updates on replica servers on Ubuntu can crash the server</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="9">Done</resolution>
                                        <assignee username="greg_10gen">Greg Studer</assignee>
                                    <reporter username="pinbender">Kevin Francis</reporter>
                        <labels>
                            <label>crash</label>
                            <label>replication</label>
                    </labels>
                <created>Wed, 13 Jul 2011 20:49:44 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:42 +0000</updated>
                            <resolved>Thu, 14 Jul 2011 15:56:55 +0000</resolved>
                                    <version>1.8.2</version>
                    <version>1.9.0</version>
                                    <fixVersion>1.8.3</fixVersion>
                    <fixVersion>1.9.1</fixVersion>
                                    <component>Geo</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="42305" author="pinbender" created="Thu, 14 Jul 2011 16:16:35 +0000"  >&lt;p&gt;Wow, thanks for the quick turn around time!  You guys rock.&lt;/p&gt;</comment>
                            <comment id="42299" author="greg_10gen" created="Thu, 14 Jul 2011 15:57:27 +0000"  >&lt;p&gt;Feel free to reopen if you continue to see the problem using the new builds.&lt;/p&gt;</comment>
                            <comment id="42298" author="greg_10gen" created="Thu, 14 Jul 2011 15:56:55 +0000"  >&lt;p&gt;Thanks for reporting, issue with querying an empty cursor.  Added test and backported, so should appear in 1.8.3, 1.9.1.&lt;/p&gt;</comment>
                            <comment id="42297" author="auto" created="Thu, 14 Jul 2011 15:55:10 +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: recheck ok() - fix for the fix &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3428&quot; title=&quot;Geospatial index updates on replica servers on Ubuntu can crash the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3428&quot;&gt;&lt;del&gt;SERVER-3428&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f873cfb0b4b59265135caef883c720024d850137&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f873cfb0b4b59265135caef883c720024d850137&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42295" author="auto" created="Thu, 14 Jul 2011 15:48:30 +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: recheck ok() - fix for the fix &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3428&quot; title=&quot;Geospatial index updates on replica servers on Ubuntu can crash the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3428&quot;&gt;&lt;del&gt;SERVER-3428&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: v1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a85dd523b71ef5f364b527e6679476e942b7bd4c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a85dd523b71ef5f364b527e6679476e942b7bd4c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42292" author="auto" created="Thu, 14 Jul 2011 15:44:46 +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: test case for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3428&quot; title=&quot;Geospatial index updates on replica servers on Ubuntu can crash the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3428&quot;&gt;&lt;del&gt;SERVER-3428&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: v1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9134b167029adbe8682190854b88755929b14914&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9134b167029adbe8682190854b88755929b14914&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42291" author="auto" created="Thu, 14 Jul 2011 15:44:44 +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: don&apos;t advance iterator if empty/at end for geo cursor &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3428&quot; title=&quot;Geospatial index updates on replica servers on Ubuntu can crash the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3428&quot;&gt;&lt;del&gt;SERVER-3428&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: v1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e6299cf1d1dd63ebda4fd4cd2a7e52de21c8a90a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e6299cf1d1dd63ebda4fd4cd2a7e52de21c8a90a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42288" author="auto" created="Thu, 14 Jul 2011 15:36:05 +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: test case for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3428&quot; title=&quot;Geospatial index updates on replica servers on Ubuntu can crash the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3428&quot;&gt;&lt;del&gt;SERVER-3428&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/253f05dfb5692318103e84a364bfd07a22158d14&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/253f05dfb5692318103e84a364bfd07a22158d14&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42287" author="auto" created="Thu, 14 Jul 2011 15:36:03 +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: don&apos;t advance iterator if empty/at end for geo cursor &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3428&quot; title=&quot;Geospatial index updates on replica servers on Ubuntu can crash the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3428&quot;&gt;&lt;del&gt;SERVER-3428&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/146ef71a1754a44ba6c3763ddeda0d69398fe458&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/146ef71a1754a44ba6c3763ddeda0d69398fe458&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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>Thu, 14 Jul 2011 15:36:03 +0000</customfieldvalue>

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

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

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

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