<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:52 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-3365] Assertion failure: ensureIndex on a 2 billions collection (2^32 limit ?)</title>
                <link>https://jira.mongodb.org/browse/SERVER-3365</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have created a new database, a singe collection with similar but simple random documents with 10 keys and some subkeys.&lt;/p&gt;

&lt;p&gt;2151000000 is approximately 2^32. Is it a index limit bug?&lt;/p&gt;

&lt;p&gt;Command:&lt;/p&gt;

&lt;p&gt;db.testcoll.ensureIndex(&lt;/p&gt;
{&quot;key5.subkey2&quot;: 1}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;Log after 4 hours:&lt;/p&gt;

&lt;p&gt;Mon Jul  4 16:19:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;snapshotthread&amp;#93;&lt;/span&gt; cpu: elapsed:4000  writelock: 0%&lt;br/&gt;
                2151000000/2177356393   98%&lt;br/&gt;
Mon Jul  4 16:19:38 &lt;span class=&quot;error&quot;&gt;&amp;#91;snapshotthread&amp;#93;&lt;/span&gt; cpu: elapsed:4000  writelock: 0%&lt;br/&gt;
Mon Jul  4 16:19:38 &lt;span class=&quot;error&quot;&gt;&amp;#91;FileAllocator&amp;#93;&lt;/span&gt; allocating new datafile /root/mongodb-linux-x86_64-1.8.2/data/test_db/test_db.469, filling with zeroes...&lt;br/&gt;
Mon Jul  4 16:19:42 &lt;span class=&quot;error&quot;&gt;&amp;#91;snapshotthread&amp;#93;&lt;/span&gt; cpu: elapsed:4000  writelock: 0%&lt;br/&gt;
Mon Jul  4 16:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;FileAllocator&amp;#93;&lt;/span&gt; done allocating datafile /root/mongodb-linux-x86_64-1.8.2/data/test_db/test_db.469, size: 2047MB,  took 9.85 secs&lt;br/&gt;
Mon Jul  4 16:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;  test_db.system.indexes Assertion failure isOk() db/pdfile.h 259&lt;br/&gt;
0x54f0ee 0x56073d 0x789a9a 0x787bf8 0x7764e4 0x77874d 0x77a0ae 0x77b4cf 0x7595bd 0x75b23f 0x8a8fce 0x8bb630 0x7fc7adc938ba 0x7fc7ad24f02d&lt;br/&gt;
 bin/mongod(_ZN5mongo12sayDbContextEPKc+0xae) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x54f0ee&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo8assertedEPKcS1_j+0xfd) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56073d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZNK5mongo7Forward4nextERKNS_7DiskLocE+0x1ea) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x789a9a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11BasicCursor7advanceEv+0xd8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x787bf8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo14fastBuildIndexEPKcPNS_16NamespaceDetailsERNS_12IndexDetailsEi+0x614) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7764e4&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x77874d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11DataFileMgr6insertEPKcPKvibRKNS_11BSONElementEb+0xf4e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x77a0ae&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11DataFileMgr16insertWithObjModEPKcRNS_7BSONObjEb+0x5f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x77b4cf&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo14receivedInsertERNS_7MessageERNS_5CurOpE+0x37d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7595bd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x192f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x75b23f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x21e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8a8fce&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8bb630&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libpthread.so.0(+0x68ba) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fc7adc938ba&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fc7ad24f02d&amp;#93;&lt;/span&gt;&lt;br/&gt;
Mon Jul  4 16:19:49 &lt;span class=&quot;error&quot;&gt;&amp;#91;snapshotthread&amp;#93;&lt;/span&gt; cpu: elapsed:7273  writelock: 0%&lt;/p&gt;</description>
                <environment>Debian 6.0, 64 bit, Core i7, 24 GB RAM, Software RAID 1</environment>
        <key id="19060">SERVER-3365</key>
            <summary>Assertion failure: ensureIndex on a 2 billions collection (2^32 limit ?)</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="devhd">devhd</reporter>
                        <labels>
                            <label>crash</label>
                            <label>indexing</label>
                    </labels>
                <created>Mon, 4 Jul 2011 14:48:30 +0000</created>
                <updated>Tue, 19 Mar 2013 20:18:24 +0000</updated>
                            <resolved>Mon, 11 Mar 2013 19:31:16 +0000</resolved>
                                    <version>1.8.2</version>
                                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="286562" author="ian@10gen.com" created="Mon, 11 Mar 2013 19:31:16 +0000"  >&lt;p&gt;devhd, because of the amount of time transpired since you filed this ticket I&apos;m resolving it as incomplete. My apologies for us not responding sooner. Please do add a comment if you&apos;re still able to recreate (especially on a 2.2.x or 2.4 release candidate) and I&apos;ll reopen this.&lt;/p&gt;</comment>
                            <comment id="40458" author="devhd" created="Mon, 4 Jul 2011 16:34:28 +0000"  >&lt;p&gt;After that:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.testcoll.totalIndexSize()&lt;br/&gt;
isOk()&lt;/p&gt;</comment>
                            <comment id="40451" author="devhd" created="Mon, 4 Jul 2011 14:54:25 +0000"  >&lt;p&gt;&amp;gt; 2151000000 is approximately 2^32.&lt;/p&gt;

&lt;p&gt;I mean a 32 bit signed integer maximal value &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 11 Mar 2013 19:31:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 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>
                            10 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>devhd</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrowjr:</customfieldvalue>

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

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

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