<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:22:36 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-10219] Assertion failure when creating text index (saveerrmsg)</title>
                <link>https://jira.mongodb.org/browse/SERVER-10219</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When creating a text index on a fairly large collection, mongod crashes with an assertion and the index isn&apos;t created.&lt;/p&gt;</description>
                <environment>Windows 8 Pro 64-bit&lt;br/&gt;
16GB RAM&lt;br/&gt;
Core i7-2600</environment>
        <key id="82385">SERVER-10219</key>
            <summary>Assertion failure when creating text index (saveerrmsg)</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="rassi">J Rassi</assignee>
                                    <reporter username="tjrobinson">Tom Robinson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Jul 2013 07:38:02 +0000</created>
                <updated>Wed, 10 Dec 2014 23:19:16 +0000</updated>
                            <resolved>Tue, 10 Sep 2013 17:54:59 +0000</resolved>
                                    <version>2.4.5</version>
                                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="421942" author="rassi@10gen.com" created="Tue, 10 Sep 2013 17:54:59 +0000"  >&lt;p&gt;Resolving as &quot;cannot reproduce&quot;.  Please re-open if you encounter this again.&lt;/p&gt;</comment>
                            <comment id="382939" author="tjrobinson" created="Wed, 17 Jul 2013 08:09:30 +0000"  >&lt;p&gt;I had to abort the second attempt for now as it had been running for about 18 hours and was still only at 12% of stage 2.&lt;/p&gt;

&lt;p&gt;The good news is that it got further than before and so I think it was down to running out of disk space. I cleared more space the second time around.&lt;/p&gt;

&lt;p&gt;I&apos;ll try again but probably over the weekend.&lt;/p&gt;</comment>
                            <comment id="381999" author="rassi@10gen.com" created="Tue, 16 Jul 2013 10:21:02 +0000"  >&lt;p&gt;Alright.  Please reply with whether your second attempt was successful (and include updated disk stats), when it finishes.  Could you also post the output of db.&amp;lt;collection&amp;gt;.stats() for the collection with the index in question, in addition to the db.stats() output you provided above?&lt;/p&gt;</comment>
                            <comment id="381976" author="tjrobinson" created="Tue, 16 Jul 2013 09:24:01 +0000"  >&lt;p&gt;Unfortunately I hadn&apos;t been running mongod with logging to a file enabled so can&apos;t supply the log file at the moment. But I&apos;m re-running the ensureIndex command as I write this, to see if I can reproduce it.&lt;/p&gt;

&lt;p&gt;I&apos;m currently running ensureIndex again so this is going to mess up the results somewhat, but my _tmp directory is currently 17.8GB and there&apos;s 38.1GB free on the drive.&lt;/p&gt;</comment>
                            <comment id="381954" author="rassi@10gen.com" created="Tue, 16 Jul 2013 08:31:33 +0000"  >&lt;p&gt;Could you upload the full mongod log as an attachment to this ticket?  In addition, could you answer the following disk usage questions:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Does the mongod dbpath contain a subdirectory called &quot;_tmp&quot;?  What is its size in GB?&lt;/li&gt;
	&lt;li&gt;How much space is available on the drive hosting the mongod dbpath?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="381932" author="tjrobinson" created="Tue, 16 Jul 2013 07:44:51 +0000"  >&lt;p&gt;The command run to create the index was:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.articles.ensureIndex( &lt;/p&gt;
{ &quot;article.description.content.#cdata-section&quot;: &quot;text&quot; }
&lt;p&gt; )&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="62605">SERVER-8241</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="63976">SERVER-8432</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 16 Jul 2013 08:31:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 23 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>
                            10 years, 23 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="10022"><![CDATA[Windows]]></customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>75327</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Using the following collection:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;serverUsed&quot;: &quot;localhost/127.0.0.1:27020&quot;,&lt;br/&gt;
  &quot;db&quot;: &quot;moreover&quot;,&lt;br/&gt;
  &quot;collections&quot;: 4,&lt;br/&gt;
  &quot;objects&quot;: 15119262,&lt;br/&gt;
  &quot;avgObjSize&quot;: 8359.153888595885,&lt;br/&gt;
  &quot;dataSize&quot;: 1.2638423774E11,&lt;br/&gt;
  &quot;storageSize&quot;: 1.2925953144E11,&lt;br/&gt;
  &quot;numExtents&quot;: 100,&lt;br/&gt;
  &quot;indexes&quot;: 4,&lt;br/&gt;
  &quot;indexSize&quot;: 5.402708976E9,&lt;br/&gt;
  &quot;fileSize&quot;: 1.43745089536E11,&lt;br/&gt;
  &quot;nsSizeMB&quot;: 16,&lt;br/&gt;
  &quot;dataFileVersion&quot;: &lt;/p&gt;
{
    &quot;major&quot;: 4,
    &quot;minor&quot;: 6
  }
&lt;p&gt;,&lt;br/&gt;
  &quot;ok&quot;: 1.0&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;...and after creating a text index on one of the fields.&lt;/p&gt;

&lt;p&gt;The output from mongod is:&lt;/p&gt;

&lt;p&gt;Mon Jul 15 18:31:44.000 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt;                Index: (1/3) External Sort Progress: 13554300/14065458  96%&lt;br/&gt;
Mon Jul 15 18:31:56.596 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt;                Index: (1/3) External Sort Progress: 13565700/14065458  96%&lt;br/&gt;
Mon Jul 15 18:32:06.026 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt;                Index: (1/3) External Sort Progress: 13578600/14065458  96%&lt;br/&gt;
Mon Jul 15 18:32:19.113 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt;  moreover.system.indexes Assertion failure le &amp;amp;&amp;amp; !saveerrmsg.empty() src\mongo\db\pdfile.cpp 1506&lt;br/&gt;
Mon Jul 15 18:32:20.830 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\util\stacktrace.cpp(189)                                      mongo::printStackTrace+0x3e&lt;br/&gt;
Mon Jul 15 18:32:20.831 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\util\assert_util.cpp(114)                                     mongo::verifyFailed+0xdc&lt;br/&gt;
Mon Jul 15 18:32:20.831 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\db\pdfile.cpp(1506)                                           `mongo::insert_makeIndex&apos;::`1&apos;::catch$0+0x109&lt;br/&gt;
Mon Jul 15 18:32:20.831 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    f:\dd\vctools\crt_bld\SELF_64_amd64\crt\prebuild\eh\amd64\handlers.asm(44)  _CallSettingFrame+0x20&lt;br/&gt;
Mon Jul 15 18:32:20.831 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    f:\dd\vctools\crt_bld\self_64_amd64\crt\prebuild\eh\frame.cpp(1337)         __CxxCallCatchBlock+0xeb&lt;br/&gt;
Mon Jul 15 18:32:20.832 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; ntdll.dll                                           RtlRestoreContext+0x304&lt;br/&gt;
Mon Jul 15 18:32:20.832 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\db\pdfile.cpp(1485)                                           mongo::insert_makeIndex+0x6e1&lt;br/&gt;
Mon Jul 15 18:32:20.832 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\db\pdfile.cpp(1757)                                           mongo::DataFileMgr::insert+0xda9&lt;br/&gt;
Mon Jul 15 18:32:20.832 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\db\pdfile.cpp(1328)                                           mongo::DataFileMgr::insertWithObjMod+0x55&lt;br/&gt;
Mon Jul 15 18:32:20.832 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\db\instance.cpp(804)                                          mongo::checkAndInsert+0x155&lt;br/&gt;
Mon Jul 15 18:32:20.833 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\db\instance.cpp(877)                                          mongo::receivedInsert+0xb0c&lt;br/&gt;
Mon Jul 15 18:32:20.833 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\db\instance.cpp(441)                                          mongo::assembleResponse+0x57a&lt;br/&gt;
Mon Jul 15 18:32:20.833 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\db\db.cpp(194)                                           mongo::MyMessageHandler::process+0xfa&lt;br/&gt;
Mon Jul 15 18:32:20.833 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\mongo\util\net\message_server_port.cpp(207)                         mongo::PortMessageServer::handleIncomingMsg+0x56a&lt;br/&gt;
Mon Jul 15 18:32:20.833 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    ...\src\third_party\boost\libs\thread\src\win32\thread.cpp(180)             boost::`anonymous namespace&apos;::thread_start_function+0x21&lt;br/&gt;
Mon Jul 15 18:32:20.833 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(314)                 _callthreadstartex+0x17&lt;br/&gt;
Mon Jul 15 18:32:20.833 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; mongod.exe    f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(292)                 _threadstartex+0x7f&lt;br/&gt;
Mon Jul 15 18:32:20.833 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; KERNEL32.DLL                                           BaseThreadInitThunk+0x1a&lt;br/&gt;
Mon Jul 15 18:32:20.850 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn21&amp;#93;&lt;/span&gt; insert moreover.system.indexes keyUpdates:0 exception: assertion src\mongo\db\pdfile.cpp:1506 locks(micros) w:14847583537 14847745ms&lt;/p&gt;</customfieldvalue>

                        </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|hrqyt3:</customfieldvalue>

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